PULSAR
API ReferenceRole Permissions

Create Role Permission

Create a new role permission.

Authorization

bearerAuth superuser
Authorization<token>

In: header

Scope: superuser

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

Try it live
POST
/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 POST "https://example.com/role-permissions" \  -H "Content-Type: application/json" \  -d '{    "permissionId": "string",    "roleId": "string"  }'
Empty