List the four company default roles
Always returns ADMIN, ACCOUNTANT, MANAGER and EMPLOYEE with effective permission IDs and optimistic lock versions. Permission customization is isolated to the signed tenant. Company permission: `listCompanyRoles`. Defaults: ADMIN. Current company role permissions and active membership are checked on every request; signed legacy role claims alone do not authorize this operation.
bearerAuthAuthorizationBearer <token>Obtained from POST /api/v1/auth/login, on the tenant's own subdomain. Presenting it on another tenant's subdomain is a 403.
OK
*/*- response
[index: integer]?curl -X GET 'https://api.monetaryai.uz/api/v1/settings/roles'[ { "code": "string", "defaultPermissions": true, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "lockVersion": 0, "name": "string", "permissions": [ "string" ] }]List configurable permissions GET
Stable permission IDs match Swagger operationId values. Each entry includes its API paths, HTTP methods, group and default roles. Public and self-only APIs cannot be delegated through this catalogue. Company permission: `listCompanyPermissions`. Defaults: ADMIN. Current company role permissions and active membership are checked on every request; signed legacy role claims alone do not authorize this operation.
Read one company role GET
Returns effective permission IDs and the current lockVersion for one of the four company defaults. Company permission: `getCompanyRole`. Defaults: ADMIN. Current company role permissions and active membership are checked on every request; signed legacy role claims alone do not authorize this operation.