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
header
AuthorizationBearer <JWT>An OpenID Connect access token from signing in to CentralCSP, acting as the signed-in user.
workspaceId*stringThe workspace's id.
groupId*stringThe group's id.
application/json- body
memberId*stringThe id of the membership to add, from the members list.
Length
1 <= lengthThe member is added to the group.
Example Request
curl -X POST 'https://api.centralcsp.com/v1/workspaces/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/groups/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/members' \ -H 'Content-Type: application/json' \ -d '{ "memberId": "string"}'Example Response
Empty