APIWebsite Access
Revoke a member's access
Removes the role granted to a member directly. If a group still grants them a role on this website, they keep that one.
Requires the admin role on the website.
DELETE
header
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.
memberId*stringThe membership the grant is for.
The member's direct role is removed.
Example Request
curl -X DELETE 'https://api.centralcsp.com/v1/workspaces/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/websites/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/access/members/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90'Example Response
Empty
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.
Grant a member access PUT
Gives a workspace member a role on this website, replacing any role granted to them directly. If a group also grants them a role, the higher role applies.