PULSAR
API ReferenceCompany Role Permissions

Upsert Matrix

Create or update matrix.

Authorization

bearerAuth superadmin, superuser
Authorization<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
PUT
/v3/companies/role-permissions

This endpoint requires authentication — use the Login page at the top of the API Reference, or paste a token in the Authorization section below.

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