Set workspace usage-alert recipients
Replaces the recipient list. Send an empty array to turn workspace usage emails off. Every id must belong to a member of this workspace.
Requires the admin role on the workspace.
AuthorizationBearer <JWT>An OpenID Connect access token from signing in to CentralCSP, acting as the signed-in user.
workspaceId*stringThe workspace's id.
application/json- body
The full recipient list.
memberIds*array<>The id of each membership to email, up to 200. Send an empty array to turn these emails off.
items <= 200Who is emailed as usage approaches the limit.
application/json- response
recipients*array<>Members on the list. An empty array means nobody is emailed.
curl -X PUT 'https://api.centralcsp.com/v1/workspaces/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/usage-alerts/recipients' \ -H 'Content-Type: application/json' \ -d '{ "memberIds": [ "string" ]}'{ "recipients": [ { "memberId": "string", "hasAccess": true, "email": "string", "firstName": "string", "lastName": "string" } ]}List workspace usage-alert recipients GET
Returns the members emailed when the workspace passes 80% of its plan limit and again when it reaches 100%. Each threshold sends at most one email per period.
List website usage-alert recipients GET
Returns the members emailed when this website passes 80% of its usage limit and again when it reaches 100%.