PULSAR
API ReferencePermissions

Create Permission

Create a new 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
/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/permissions" \  -H "Content-Type: application/json" \  -d '{    "sectionId": "string",    "endpoints": [      "string"    ],    "name": "string"  }'
Empty