API Endpoints for Roles and Permissions
https://relatecrm.example.com/api/roles
| Content-Type (Required) | string |
application/json |
| Accept (Required) | string |
application/json |
| Authorization (Required) | string |
Bearer {token} |
https://relatecrm.example.com/api/roles/{id}
| Content-Type (Required) | string |
application/json |
| Accept (Required) | string |
application/json |
| Authorization (Required) | string |
Bearer {token} |
| id (Required) | integer |
The ID of the record |
https://relatecrm.example.com/api/roles
| Content-Type (Required) | string |
application/json |
| Accept (Required) | string |
application/json |
| Authorization (Required) | string |
Bearer {token} |
| name (Required) | string |
|
| permissions (Optional) | array |
Array of role permissions Example: [ "view own activities", "delete own activities", "view own companies", "edit own companies", ] |
https://relatecrm.example.com/api/roles/{id}
| Content-Type (Required) | string |
application/json |
| Accept (Required) | string |
application/json |
| Authorization (Required) | string |
Bearer {token} |
| id (Required) | integer |
The ID of the record |
| name (Required) | string |
|
| permissions (Optional) | array |
Array of role permissions Example: [ "view own activities", "delete own activities", "view own companies", "edit own companies", ] |
https://relatecrm.example.com/api/roles/{id}
| Content-Type (Required) | string |
application/json |
| Accept (Required) | string |
application/json |
| Authorization (Required) | string |
Bearer {token} |
| id (Required) | integer |
The ID of the record |
https://relatecrm.example.com/api/permissions
| Content-Type (Required) | string |
application/json |
| Accept (Required) | string |
application/json |
| Authorization (Required) | string |
Bearer {token} |