Notifications

Update notification preferences

Changed on

Update notification preferences.

Auth: Required (bearer token). Scope: Organization-scoped in authenticated context. Side effects: May mutate server state.

patch/api/v1/notification/preferences

Request

  • Base URL
    http://:8080
  • URL
    http://:8080/api/v1/notification/preferences
  • Auth
    none declared

Headers

Acceptstring

Request body */*

categorystring required

Notification category

enabledboolean

Whether this notification preference is enabled

typestring required

Preference type identifier

Example request

{
  "category": "activity",
  "enabled": true,
  "type": "deployment_success"
}

Response

OK

messagestring
statusstring

Changes