1. Docs
  2. API Reference
  3. RoleResponseDto

The RoleResponseDto object

Example

{
  "id": "string",
  "application_id": "string",
  "name": "string",
  "description": "string",
  "is_system_role": false,
  "system_key": "string",
  "is_active": false,
  "created_at": "2026-04-20T12:00:00.000Z",
  "updated_at": "2026-04-20T12:00:00.000Z",
  "version": 0,
  "permission_count": 0
}

Properties

  • idstring*
  • application_idstring*
  • namestring*
  • descriptionstring
  • is_system_roleboolean*
  • system_keystring
  • is_activeboolean*
  • created_atstring (date-time)*
  • updated_atstring (date-time)*
  • versionnumber*

    Optimistic-lock version. Send back as the `If-Match` header when updating to detect concurrent edits.

  • permission_countnumber

    Number of permissions currently assigned to this role. Populated on list responses; omitted on single-role responses where the join isn't computed.