Deletes a list of roles of a tenant.
This method won't delete all roles in the list, if an error happens.
DELETE /users/roles
Operation id: RoleService_DeleteRoles
Description
Permission Level: Read Write
Tags: RoleService
Security
- Authorization (apiKey)
- Bearer token
Responses
200 — A successful response.
Content type: application/json
default — An unexpected error response.
Content type: application/json
Request body
Required: Yes
application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
tenantId | string | No | |
roles | array | No |
{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"roles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"domain": {
"type": "string"
},
"scope": {
"type": "string"
},
"roleId": {
"type": "string"
}
}
}
}
}
}
Response models
200 — A successful response.
Content type: application/json
Schema
{
"type": "object",
"properties": {}
}
default — An unexpected error response.
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
code | integer (int32) | No | |
message | string | No | |
details | array | No |
{
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
}
}
}
}
}