Developers

Creates a RoleSet resource

POST
/user/role-sets

Creates a RoleSet resource

Authorization<token>

Value for the Authorization header parameter.

In: header

Request Body

The new RoleSet resource

TypeScript Definitions

Use the request body type in TypeScript.

roles?array<>
name*string
Lengthlength <= 100

Response Body

curl -X POST "https://example.com/user/role-sets" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "shortCode": "string",  "name": "string",  "roles": [    "Check allowed_roles.yaml"  ]}