provider
admin
roles

Create Role

Create a new role.

post/admin/roles

Headers

TENANTstring required

The tenant you are making this request on behalf of

API-KEYstring required

Your api key

Request body

namestring required

Role name

descriptionstring nullable

Optional description of the role

userType'ADMIN' | 'PROVIDER' | 'USER'

Response

Successful Response

idstring required

Unique identifier for the role

namestring required

Role name (e.g., 'admin', 'user', 'billing_manager')

userType'ADMIN' | 'PROVIDER' | 'USER' required
createdDatestring date-time nullable

When the role was created

updatedDatestring date-time nullable

When the role was last updated

descriptionstring nullable

Description of what this role does

permissionsstring[]

List of permission strings

Changes

No recorded changes to this endpoint across all 1 revision of this API.