Enable or disable notifications for a user

POST /friendships/notify
application/x-www-form-urlencoded

Body Required

  • user string

    The username of the user to notify

  • notify integer

    The flag to enable or disable notifications (1 or 0)

    Values are 0 or 1.

Responses

  • 200

    Notifications updated successfully

  • 404

    User not found

POST /friendships/notify
curl \
 -X POST https://blips.club/friendships/notify \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -d 'user=string&notify=0'
Request example
{
  "user": "string",
  "notify": 0
}