APIMembers
Update a member
Changes a member's workspace role. The owner's membership cannot be changed, and only the owner can grant or take away the admin role.
Requires the admin role on the workspace.
AuthorizationBearer <token>
An OpenID Connect access token issued by Keycloak, acting as the signed-in user.
In: header
Path Parameters
workspaceId*string
memberId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
role?|
member is a regular collaborator. admin can also administer the workspace, its members, and its websites.
Response Body
application/json
curl -X PATCH "https://api-next.centralcsp.com/v1/workspaces/string/members/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "workspaceId": "string", "userId": "string", "role": "admin", "email": "string", "firstName": "string", "lastName": "string", "picture": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}