Creates a new user group
POST/seb-api/v1/user-groups
Creates a new user group
Request
- application/json
Body
required
name stringrequired
Name of the user group
userIds string[]required
List of user IDs
Responses
- 201
- 400
- 403
- 500
User group created successfully
- application/json
- Schema
- Example (from schema)
Schema
userGroupId string
The ID of the newly created user group
{
"userGroupId": "string"
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
errorResponse object
error string
message stringrequired
{
"errorResponse": {
"error": "string",
"message": "string"
}
}
Forbidden
Internal server error
Loading...