Update Authorization Role
Update Rbac authorization role.
Request
URI
PUT
https://{api_host}/tca/rbac/api/v1/orgs/{orgId}/roles/{roleId}
COPY
Path Parameters
string
orgId
Required
The identifier of the tenant
string
roleId
Required
role ID
Request Body
request payload.
role
of type(s)
application/json
Required
{
"id": "string",
"name": "string",
"creationDate": "string",
"description": "string",
"isDefault": false,
"privileges": [
"string"
]
}
string
id
Optional
id
string
name
Optional
name
string
creationDate
Optional
creationDate
string
description
Optional
description
boolean
isDefault
Optional
isDefault
array of
string
privileges
Optional
privileges
Responses
200
Successfully retrived requested roles.
Returns
role
of type(s)
application/json
{
"id": "string",
"name": "string",
"creationDate": "string",
"description": "string",
"isDefault": false,
"privileges": [
"string"
]
}
string
id
Optional
id
string
name
Optional
name
string
creationDate
Optional
creationDate
string
description
Optional
description
boolean
isDefault
Optional
isDefault
array of
string
privileges
Optional
privileges
400
Bad Request
Returns
errorResponse
of type(s)
application/json
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
404
Role not found
Operation doesn't return any data structure
500
Internal Server Error
Returns
errorResponse
of type(s)
application/json
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}