CentralCSP
APIGroups

Add a member to a group

Puts a workspace member in the group. They immediately get every website role the group holds.

Requires the admin role on the workspace.

POST
/v1/workspaces/{workspaceId}/groups/{groupId}/members

Authorization

AuthorizationBearer <token>

An OpenID Connect access token issued by Keycloak, acting as the signed-in user.

In: header

Path Parameters

workspaceId*string
groupId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

memberId*string

The id of the membership to add, from the members list.

Length1 <= length

Response Body

curl -X POST "https://api-next.centralcsp.com/v1/workspaces/string/groups/string/members" \  -H "Content-Type: application/json" \  -d '{    "memberId": "string"  }'
Empty