Portabase DashboardAPINotification channels
Set the organizations allowed to use a global notification channel (instance administrators)
Replaces the list. Removing an organization keeps that organization's policies that already use the channel.
PUT
Replaces the list. Removing an organization keeps that organization's policies that already use the channel.
apiKeyAuthheader
x-api-key<token>API key generated from the Portabase dashboard. Pass as the x-api-key header.
channelId*stringFormat
uuidapplication/json- body
organizationIds*array<>Organizations allowed to use the channel
application/json- response
data*Example Request
curl -X PUT 'https://portabase.example.com/api/v1/notification-channels/123e4567-e89b-12d3-a456-426614174000/organizations' \ -H 'Content-Type: application/json' \ -d '{ "organizationIds": [ "fd846392-cc8b-40e0-8cea-70228902ca0a" ]}'Example Response
{ "data": { "organizationIds": [ "fd846392-cc8b-40e0-8cea-70228902ca0a" ] }}