API ReferenceRoles
Create Role
Create a new role.
Authorization
bearerAuth superuserAuthorization<token>
In: header
Scope: superuser
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
Try it live
curl -X POST "https://example.com/roles" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'Empty