OrkStageOrkStage
API referenceOperations

PUT /me/notification-preferences

PUT /me/notification-preferences: OrkStage Control API v1 endpoint reference.

PUT
/api/v1/me/notification-preferences

Authorization

headerAuthorizationBearer <ork_<env>_<id>_<secret>>

Organization API key (scoped). Sessions use the cookie instead.

Header Parameters

x-orkstage-csrf?unknown

Cookie sessions: send "1" on POST/PATCH/PUT/DELETE. Not needed with an API key.

Request Body

application/json
  1. body
preferences*array<>
Itemsitems <= 200

Response Body

Example Request
curl -X PUT 'http://localhost:4000/api/v1/me/notification-preferences' \  -H 'Content-Type: application/json' \  -d '{  "preferences": [    {      "event": "string",      "channel": "in_app",      "enabled": true    }  ]}'
Example Response200
Empty