Turn emails on or off; security and billing stay on
Turns emails on or off for the kinds named; security and billing stay on whatever is asked. Any member.
/v1/orgs/{orgId}/notification-preferencesTurns emails on or off for the kinds named; security and billing stay on whatever is asked. Any member.
Authorization
synq A Synq access token for this API: bnc.read for reads, bnc.write for changes.
In: header
Path Parameters
The organization's id
^org_[0-9a-hjkmnp-tv-z]{26}$Query Parameters
Records per page, from 1 to 200; defaults to 50
1 <= value <= 20050The nextCursor from the previous response, unchanged
1 <= length <= 4096Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/v1/orgs/string/notification-preferences" \ -H "Content-Type: application/json" \ -d '{ "preferences": [ { "kind": "api_key.expiring", "email": true } ] }'{ "data": [ { "kind": "webhook.disabled", "category": "burner", "label": "string", "email": true, "locked": true } ], "nextCursor": "string"}Set or clear the burner's goal for this month or a later one PUT
Sets the burner's goal for a month, this one or a later one, or clears it with null. Needs `burner.edit`.
Connect a bot of the org’s own, to post in its channel or group PUT
Needs the plan's `integrations.telegram_bot` (AERO-1146). Telegram checks the token with getMe, and the bot must already be in the chat and able to post: in a channel, an admin allowed to post. The bot then posts the org's cleanups there, and joins the org's connected chats in this card. A bot the org connected before that went off is replaced.