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.
An OpenID Connect access token issued by Keycloak, acting as the signed-in user.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
The id of each membership to email. Send an empty array to turn these emails off.
items <= 200Response Body
application/json
curl -X PUT "https://api-next.centralcsp.com/v1/workspaces/string/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%.