v1
latestOpenAPI 3.1.02026-08-06236494759.4 KBUser Roles
Remove roles from User
Endpoint to remove a Role from an User.
post/business/v2/employees/{userId}/unassignRole
Path parameters
userIdstring required
The User ID to remove Role from.
Example:XMPL1234-000001
Request body
Example request
{
"name": "superAdmin",
"description": "The SuperAdmin role",
"scope": "ALL"
}Response
The returned resource is a single User.
Example response
{
"id": "XMPL1234-000001",
"roles": [
{
"id": "superAdmin",
"name": "superAdmin",
"description": "The SuperAdmin role",
"scope": "ALL"
}
]
}