Create Authorization Permission
Create Rbac authorization permission.
Request
URI
POST
https://{api_host}/tca/rbac/api/v1/orgs/{orgId}/permissions
COPY
Path Parameters
string
orgId
Required
The identifier of the tenant
Request Body
request payload.
permission of type(s) application/json
Required
{
"id": "string",
"name": "string",
"description": "string",
"objectFilters": [
{
"description": "string",
"name": "string",
"objectType": "string",
"pipeLine": [
{
"filters": [
{
"attribute": "string",
"attributeOperator": "string",
"attributeValues": [
"string"
],
"path": "string"
}
],
"predicate": "string"
}
]
}
],
"applyFilterToCreate": false,
"roleId": "string",
"creationDate": "string",
"roleName": "string",
"usersAndGroups": [
"string"
]
}
string
id
Optional
id
string
name
Optional
name
string
description
Optional
description
boolean
applyFilterToCreate
Optional
applyFilterToCreate
string
roleId
Optional
roleId
string
creationDate
Optional
creationDate
string
roleName
Optional
roleName
array of string
usersAndGroups
Required
usersAndGroups
Responses
200
Successfully created permission.
Returns permission of type(s) application/json
{
"id": "string",
"name": "string",
"description": "string",
"objectFilters": [
{
"description": "string",
"name": "string",
"objectType": "string",
"pipeLine": [
{
"filters": [
{
"attribute": "string",
"attributeOperator": "string",
"attributeValues": [
"string"
],
"path": "string"
}
],
"predicate": "string"
}
]
}
],
"applyFilterToCreate": false,
"roleId": "string",
"creationDate": "string",
"roleName": "string",
"usersAndGroups": [
"string"
]
}
string
id
Optional
id
string
name
Optional
name
string
description
Optional
description
boolean
applyFilterToCreate
Optional
applyFilterToCreate
string
roleId
Optional
roleId
string
creationDate
Optional
creationDate
string
roleName
Optional
roleName
array of string
usersAndGroups
Required
usersAndGroups
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
500
Internal Server Error
Returns errorResponse of type(s) application/json
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
On This Page
Rbac Permissions Operations
POST
Create Authorization Permission
DELETE
Delete Authorization Permission
POST
Get Permissions By Filter
PUT
Update Authorization Permission
POST
Validate Authorization Permission