Roles
The roles and permissions in the company.
Module: access (access).
Endpoints
Section titled “Endpoints”GET /api/v1/roles- List with filters, sorting and pagination (scopeaccess:read)GET /api/v1/roles/{id}- A record by id (scopeaccess:read)POST /api/v1/roles- Create a record (scopeaccess:write)PATCH /api/v1/roles/{id}- Modify the submitted fields (scopeaccess:write)DELETE /api/v1/roles/{id}- Delete or deactivate (scopeaccess:write)
Fields
Section titled “Fields”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)