CentralCSP
APIWebsite Access

Revoke a group's access

Removes the group's role on this website. Its members keep any role granted to them directly.

Requires the admin role on the website.

DELETE
/v1/workspaces/{workspaceId}/websites/{websiteId}/access/groups/{groupId}

Authorization

headerAuthorizationBearer <JWT>

An OpenID Connect access token from signing in to CentralCSP, acting as the signed-in user.

Path Parameters

workspaceId*string

The workspace's id.

websiteId*string

The website's id.

groupId*string

The group the grant is for.

Response Body

The group's 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/groups/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90'
Example Response
Empty