Create Role
Creates a custom role. Requested permissions are capped at the capabilities the requesting user holds on each entity.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
Request Body*
{
"name": "string",
"description": "string",
"permissions": {
"Tasks": [
"..."
],
"Users": [
"..."
],
"Clients": [
"..."
],
"Contacts": [
"..."
],
"ClientContacts": [
"..."
]
}
}
Responses
201 Created
400 Bad Request
401 Unauthorized – Invalid or missing API key