Skip to main content
PATCH
/
v1
/
channels
/
{id}
/
notifications
Update channel notification preference
curl --request PATCH \
  --url https://api.magne.app/v1/channels/{id}/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

id
string<uuid>
required

Body

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

Response

Success