APIWebsite Access
Grant a member access
Gives a workspace member a role on this website, replacing the role they had. Access they also get through a group still counts, and the highest role wins.
Requires the admin role on the website.
AuthorizationBearer <token>
An OpenID Connect access token issued by Keycloak, acting as the signed-in user.
In: header
Path Parameters
workspaceId*string
websiteId*string
memberId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
role*|||
What someone may do with a website. viewer reads reports and settings. analyst also decides on scripts under review. manager also changes the website's configuration. admin also manages access and deletes the website.
Response Body
curl -X PUT "https://api-next.centralcsp.com/v1/workspaces/string/websites/string/access/members/string" \ -H "Content-Type: application/json" \ -d '{ "role": "viewer" }'Empty