List website access
Lists who can reach this website: members granted a role directly, and groups granted a role. Group entries carry their member count and a short preview of members, so a client does not need a second call per row. Workspace owners and admins always have full access and are not listed here.
Requires the admin role on the website.
An OpenID Connect access token issued by Keycloak, acting as the signed-in user.
In: header
Path Parameters
Response Body
application/json
curl -X GET "https://api-next.centralcsp.com/v1/workspaces/string/websites/string/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 of this workspace.
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.