Users
Update a group
Changed onEnterprise feature
Update existing user group by group id. It overrides previous group details.
put/api/admin/groups/{groupId}
Request
- Base URLhttps://app.unleash-instance.example.com
- URLhttps://app.unleash-instance.example.com/api/admin/groups/{groupId}
- Auth
- API key in header Authorization
- or HTTP bearer
Path parameters
groupIdstring required
Request body
Example request
{
"name": "DX team",
"description": "Current members of the DX squad",
"mappingsSSO": [
"SSOGroup1",
"SSOGroup2"
],
"rootRole": 1,
"users": [
{
"user": {
"id": 123
}
}
]
}Response
groupWriteResponseSchema
Example response
{
"id": 1,
"name": "DX team",
"description": "Current members of the DX squad",
"mappingsSSO": [
"SSOGroup1",
"SSOGroup2"
],
"rootRole": 1,
"createdBy": "admin",
"createdAt": "2023-06-30T11:41:00.123Z",
"projects": [
"default",
"my-project"
],
"userCount": 1,
"scimId": "01HTMEXAMPLESCIMID7SWWGHN7"
}Changes
- warning
removed the optional property
from the response with the status
- warning
- info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- info