Get access assignments of a delegated admin relationship

GET /v1/Customers/delegated-admin-relationships/{relationshipId}/access-assignments

Gets the list of access assignments on the given relationship. Only the access assignments associated with the configured security group are returned.

Headers

  • X-Tenant string Required

    This header identifies which tenant to access with this request. This value should be an existent domain for the specified tenant.

  • Authorization string Required

    JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

    Default value is Bearer eyJ0eXAiO....

  • X-Correlation-Id string(UUID)

    This header is optional and by setting it you can correlate the audit logs made by this request.

Path parameters

Query parameters

  • providerInstanceId string(uuid) Required

    Id of the provider instance where relationship is created

Responses

GET /v1/Customers/delegated-admin-relationships/{relationshipId}/access-assignments
curl \
 -X GET https://app-cloudcockpitapi-prod-01.azurewebsites.net/v1/Customers/delegated-admin-relationships/{relationshipId}/access-assignments?providerInstanceId=string \
 -H "X-Tenant: string" \
 -H "Authorization: Bearer eyJ0eXAiO..." \
 -H "X-Correlation-Id: string"
Response examples (200)
[
  {
    "accessContainer": {
      "accessContainerId": "string",
      "accessContainerType": {
        "name": "string"
      }
    },
    "accessDetails": {
      "unifiedRoles": [
        {
          "roleDefinitionId": "string"
        }
      ]
    },
    "createdDateTime": "2024-05-04T09:42:00+00:00",
    "id": "string",
    "lastModifiedDateTime": "2024-05-04T09:42:00+00:00",
    "status": {
      "name": "string"
    }
  }
]
Response examples (200)
[
  {
    "accessContainer": {
      "accessContainerId": "string",
      "accessContainerType": {
        "name": "string"
      }
    },
    "accessDetails": {
      "unifiedRoles": [
        {
          "roleDefinitionId": "string"
        }
      ]
    },
    "createdDateTime": "2024-05-04T09:42:00+00:00",
    "id": "string",
    "lastModifiedDateTime": "2024-05-04T09:42:00+00:00",
    "status": {
      "name": "string"
    }
  }
]
Response examples (400)
{
  "statusCode": 42,
  "type": "string",
  "description": "string",
  "correlationId": "string",
  "errors": [
    {
      "propertyName": "string",
      "description": [
        "string"
      ]
    }
  ]
}
Response examples (400)
{
  "statusCode": 42,
  "type": "string",
  "description": "string",
  "correlationId": "string",
  "errors": [
    {
      "propertyName": "string",
      "description": [
        "string"
      ]
    }
  ]
}