provider
admin
roles

Update Role

Update role details (name, description, user_type).

put/admin/roles/{role_id}

Path parameters

role_idstring required

Headers

TENANTstring required

The tenant you are making this request on behalf of

API-KEYstring required

Your api key

Request body

namestring nullable

Updated role name

descriptionstring nullable

Updated role description

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.