APIGroups
Update a group
Renames the group.
Requires the admin role on the workspace.
PATCH
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
name?stringNew name.
Length
1 <= length <= 255A group of workspace members.
application/json- response
id*stringUnique identifier of the group.
workspaceId*stringThe workspace's id.
name*stringDisplay name.
createdAt*stringWhen the group was created.
Format
date-timeupdatedAt*stringWhen the group was last changed.
Format
date-timeExample Request
curl -X PATCH 'https://api.centralcsp.com/v1/workspaces/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/groups/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": "string", "workspaceId": "string", "name": "Security team", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}