AladiaDocs
Api referenceRoles

Create a role

POST
/v2/auth/roles
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v2/auth/roles" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "description": "string",    "permissions": [      {}    ],    "extendedRoleIds": [      "string"    ]  }'
{}