Remove Roles From
Remove user or group role assignments
Removes role assignments for a user or a group.
Request
URI
POST
https://{api_host}/roles/remove
COPY
Request Body
RoleAssignment
of type(s)
application/json
Required
{
"authEntity": {
"domain": "string",
"name": "string",
"type": "string",
"id": "string"
},
"roles": [
{
"name": "string",
"id": "string"
}
]
}
object
authEntity
Optional
authEntity
array of
object
roles
Optional
roles
Responses
204
The request is successful.
Operation doesn't return any data structure
401
The user is not authorized.
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/roles/remove