Updates a user group
PUT/seb-api/v1/user-groups/:id
Updates a user group
Request
Path Parameters
id stringrequired
The ID of the user group to update
- application/json
Body
required
- Array [
- ]
users object[]required
List of user updates
action stringrequired
Possible values: [add
, remove
]
Action to perform (add or remove the user)
userId stringrequired
User ID
Responses
- 200
- 400
- 403
- 404
- 500
User group updated successfully
- application/json
- Schema
- Example (from schema)
Schema
userGroupId string
The ID of the updated 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
User group not found
Internal server error
Loading...