Update notifications settings
PUT
CoderSessionTokenheader
Coder-Session-Token<token>Notifications settings request
application/json- body
notifier_paused?booleanOK
application/json- response
notifier_paused?booleanThe samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X PUT \ "$CODER_URL/api/v2/notifications/settings" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "notifier_paused": true}'Example Response
{ "notifier_paused": true}