GET
/
v1
/
delegations
/
{delegationId}
/
roles
/
count
Count delegation roles
curl --request GET \
  --url https://staging.api.us.aptlydone.com/decision/v1/delegations/{delegationId}/roles/count \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 200,
  "timestamp": "2025-06-24T10:47:32.804Z",
  "message": "Success",
  "data": {
    "roleCount": "5"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

delegationId
string
required

Response

200 - application/json

Role count fetch successfully

The response is of type object.