Admin Integrations

List tenant-specific roles with permissions

Returns paginated tenant roles with their full permission details. Supports standard Spring pagination parameters.

get/admin/integrations/data/tenant-roles-permissions

Query parameters

entityIdstring uuid required

Specifies the entity ID of the tenant.

pageinteger

Specifies the zero-based page number.

sizeinteger

Specifies the number of items per page.

sortstring

Specifies the sort field and direction.

Response

OK

pageinteger

Specifies the zero-based page number of the current page.

sizeinteger

Specifies the number of records returned per page.

totalElementsinteger

Specifies the total number of matching records.

totalPagesinteger

Specifies the total number of available pages.

hasNextboolean

Indicates whether another page of results is available.

Example response

{
  "data": [
    {
      "roleSetId": "c3d4e5f6-a7b8-9012-cdef-234567890123",
      "roleName": "Billing Admin",
      "description": "Full billing administrative access for this tenant",
      "appType": "BILLING",
      "entityId": "ent-98765432-dcba-hgfe-lkji-210987654321",
      "status": "ACTIVE",
      "roleType": "SYSTEM",
      "createdOn": "2023-01-01T00:00:00.000Z",
      "updatedOn": "2023-01-01T00:00:00.000Z",
      "permissions": [
        {
          "permissionGroupId": "pg-55555555-aaaa-bbbb-cccc-555555555555",
          "permissionGroupName": "Invoice Management",
          "category": "Billing",
          "permissions": [
            "invoice.create",
            "invoice.read",
            "invoice.update",
            "invoice.delete",
            "invoice.post"
          ]
        }
      ]
    }
  ],
  "size": 20,
  "totalElements": 12,
  "totalPages": 1
}

Changes