Admin Integrations

List global roles

Returns paginated global roles at the organization level. Supports standard Spring pagination parameters.

get/admin/integrations/data/global-roles

Query parameters

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

The zero-based page number of the current page.

sizeinteger

The number of records returned per page.

totalElementsinteger

The total number of matching records.

totalPagesinteger

The total number of available pages.

hasNextboolean

Indicates whether another page of results is available.

Example response

{
  "data": [
    {
      "roleSetId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "roleName": "Organization Admin",
      "description": "Full administrative access to the organization",
      "appType": "BILLING",
      "organizationId": "org-12345678-abcd-efgh-ijkl-123456789012",
      "status": "ENABLED",
      "roleType": "DEFAULT",
      "sourceType": "USER",
      "permissionGroupIds": [
        "pg-11111111-aaaa-bbbb-cccc-111111111111",
        "pg-22222222-aaaa-bbbb-cccc-222222222222"
      ],
      "createdOn": "2023-01-01T00:00:00.000Z",
      "updatedOn": "2023-01-01T00:00:00.000Z",
      "createdByUsername": "system"
    }
  ],
  "size": 20,
  "totalElements": 45,
  "totalPages": 3,
  "hasNext": true
}

Changes