List website access
Lists the members and groups granted a role on this website. Workspace owners and admins always have full access and are not listed.
Requires the admin 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.
Who can reach the website, and with which role.
application/json- response
members*array<>Members granted a role directly.
groups*array<>Groups granted a role. Everyone in the group has that role on the website.
curl -X GET 'https://api.centralcsp.com/v1/workspaces/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/websites/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/access'{ "members": [ { "id": "string", "websiteId": "string", "memberId": "string", "userId": "string", "email": "string", "firstName": "string", "lastName": "string", "picture": "string", "role": "viewer", "createdAt": "2019-08-24T14:15:22Z" } ], "groups": [ { "id": "string", "websiteId": "string", "groupId": "string", "groupName": "string", "role": "viewer", "memberCount": 0, "memberPreview": [ { "userId": "string", "picture": "string" } ], "createdAt": "2019-08-24T14:15:22Z" } ]}Set website usage-alert recipients PUT
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.
Revoke a member's access DELETE
Removes the role granted to a member directly. If a group still grants them a role on this website, they keep that one.