Users
Create a new group
Changed onEnterprise feature
Create a new user group for Role-Based Access Control
post/api/admin/groups
Request
- Base URLhttps://app.unleash-instance.example.com
- URLhttps://app.unleash-instance.example.com/api/admin/groups
- Auth
- API key in header Authorization
- or HTTP bearer
Request body
Example request
{
"name": "DX team",
"description": "Current members of the DX squad",
"mappingsSSO": [
"SSOGroup1",
"SSOGroup2"
],
"rootRole": 1,
"users": [
{
"user": {
"id": 123
}
}
]
}Response
The resource was successfully created.
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