API referenceOperations
PUT /me/notification-preferences
PUT /me/notification-preferences: OrkStage Control API v1 endpoint reference.
PUT
header
AuthorizationBearer <ork_<env>_<id>_<secret>>Organization API key (scoped). Sessions use the cookie instead.
x-orkstage-csrf?unknownCookie sessions: send "1" on POST/PATCH/PUT/DELETE. Not needed with an API key.
application/json- body
preferences*array<>Items
items <= 200curl -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