Skip to content

Roles

The roles and permissions in the company.

Module: access (access).

  • GET /api/v1/roles - List with filters, sorting and pagination (scope access:read)
  • GET /api/v1/roles/{id} - A record by id (scope access:read)
  • POST /api/v1/roles - Create a record (scope access:write)
  • PATCH /api/v1/roles/{id} - Modify the submitted fields (scope access:write)
  • DELETE /api/v1/roles/{id} - Delete or deactivate (scope access:write)
  • role_key (string; read)
  • label (string; write, required)
  • permissions (string; write)
  • is_system (boolean; read)
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • description (string; write)
  • template_key (string; write)
  • updated_at (string, date-time; read): Last modification date (ISO 8601).
  • label_i18n (string; write)
  • description_i18n (string; write)