Skip to main content
PATCH
/
v1
/
servers
/
{serverId}
/
members
/
@me
/
notifications
Update notification preference
curl --request PATCH \
  --url https://api.magne.app/v1/servers/{serverId}/members/@me/notifications \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "mode": "all"
}'
{
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

serverId
string<uuid>
required

Body

application/json
mode
enum<string>
required
Available options:
all,
mentions,
nothing

Response

Success