1. Docs
  2. API Reference
  3. PermissionUsageDto

PermissionUsageDto

Example

JSON
{
  "permission_id": "string",
  "role_count": 0,
  "identity_count": 0,
  "roles": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "is_system_role": false,
      "is_active": false,
      "member_count": 0
    }
  ]
}

Properties

4 properties 4 required

permission_id string Required
role_count number Required

Number of roles that grant this permission.

identity_count number Required

Distinct identities that hold this permission through any granting role. Lower than the sum of `member_count` when an identity holds more than one granting role.

roles array of PermissionUsageRoleDto Required
Was this page helpful?

Tell us how we can improve this guide.