Set website usage-alert recipients
Replaces the recipient list for this website. Send an empty array to turn its usage emails off. Every id must belong to a member who has access to this website.
Requires the manager role on the website.
AuthorizationBearer <JWT>An OpenID Connect access token from signing in to CentralCSP, acting as the signed-in user.
workspaceId*stringThe workspace's id.
websiteId*stringThe website'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/websites/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 website usage-alert recipients GET
Returns the members emailed when this website passes 80% of its usage limit and again when it reaches 100%.
List website access GET
Lists the members and groups granted a role on this website. Workspace owners and admins always have full access and are not listed.