API ReferenceCompany Role Permissions
Upsert Matrix
Create or update matrix.
Authorization
bearerAuth superadmin, superuserAuthorization<token>
In: header
Scope: superadmin, superuser
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
[index: integer]?
Response Body
Try it live
curl -X PUT "https://example.com/v3/companies/role-permissions" \ -H "Content-Type: application/json" \ -d '[ { "allowed": true, "permission": "string", "category": "string", "role": "user" } ]'Empty