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

    The domain used to access the portal.

  • 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

  • OK

    Hide response attributes Show response attributes object
    • Additional properties are NOT allowed.

      Hide accessContainer attributes Show accessContainer attributes object
      • accessContainerId string | null

        The identifier of the access container (for example, a security group). For "securityGroup" access containers, this must be a valid ID of an Azure AD security group in the Microsoft partner's tenant.

      • Additional properties are NOT allowed.

        Hide accessContainerType attribute Show accessContainerType attribute object
        • name string | null

          The name of the enumeration.

    • Additional properties are NOT allowed.

      Hide accessDetails attribute Show accessDetails attribute object
    • createdDateTime string(date-time) | null

      The date and time in UTC time when the access assignment was created. Read-only.

    • id string | null

      The unique identifier of the access assignment. Read-only.

    • lastModifiedDateTime string(date-time) | null

      The date and time in UTC time when this access assignment was last modified. Read-only.

    • status object

      Additional properties are NOT allowed.

      Hide status attribute Show status attribute object
      • name string | null

        The name of the enumeration.

    Hide response attributes Show response attributes object
    • Additional properties are NOT allowed.

      Hide accessContainer attributes Show accessContainer attributes object
      • accessContainerId string | null

        The identifier of the access container (for example, a security group). For "securityGroup" access containers, this must be a valid ID of an Azure AD security group in the Microsoft partner's tenant.

      • Additional properties are NOT allowed.

        Hide accessContainerType attribute Show accessContainerType attribute object
        • name string | null

          The name of the enumeration.

    • Additional properties are NOT allowed.

      Hide accessDetails attribute Show accessDetails attribute object
    • createdDateTime string(date-time) | null

      The date and time in UTC time when the access assignment was created. Read-only.

    • id string | null

      The unique identifier of the access assignment. Read-only.

    • lastModifiedDateTime string(date-time) | null

      The date and time in UTC time when this access assignment was last modified. Read-only.

    • status object

      Additional properties are NOT allowed.

      Hide status attribute Show status attribute object
      • name string | null

        The name of the enumeration.

    Hide response attributes Show response attributes object
    • Additional properties are NOT allowed.

      Hide accessContainer attributes Show accessContainer attributes object
      • accessContainerId string | null

        The identifier of the access container (for example, a security group). For "securityGroup" access containers, this must be a valid ID of an Azure AD security group in the Microsoft partner's tenant.

      • Additional properties are NOT allowed.

        Hide accessContainerType attribute Show accessContainerType attribute object
        • name string | null

          The name of the enumeration.

    • Additional properties are NOT allowed.

      Hide accessDetails attribute Show accessDetails attribute object
    • createdDateTime string(date-time) | null

      The date and time in UTC time when the access assignment was created. Read-only.

    • id string | null

      The unique identifier of the access assignment. Read-only.

    • lastModifiedDateTime string(date-time) | null

      The date and time in UTC time when this access assignment was last modified. Read-only.

    • status object

      Additional properties are NOT allowed.

      Hide status attribute Show status attribute object
      • name string | null

        The name of the enumeration.

  • Bad Request

    Hide response attributes Show response attributes object
    • statusCode integer(int32)

      The HTTP status code that represents a specific error scenario.

    • type string | null

      The type of error that occurred.

    • description string | null

      Describes the error scenario that occurred.

    • correlationId string | null

      The correlationId of the request that originated the error.

    • errors array[object] | null

      A list containing the detail of the errors that occurred in this error scenario.

      Hide errors attributes Show errors attributes object
      • propertyName string | null

        The name of the property involved in the error.

      • description array[string] | null

        A description of each error associated with the given property.

    Hide response attributes Show response attributes object
    • statusCode integer(int32)

      The HTTP status code that represents a specific error scenario.

    • type string | null

      The type of error that occurred.

    • description string | null

      Describes the error scenario that occurred.

    • correlationId string | null

      The correlationId of the request that originated the error.

    • errors array[object] | null

      A list containing the detail of the errors that occurred in this error scenario.

      Hide errors attributes Show errors attributes object
      • propertyName string | null

        The name of the property involved in the error.

      • description array[string] | null

        A description of each error associated with the given property.

    Hide response attributes Show response attributes object
    • statusCode integer(int32)

      The HTTP status code that represents a specific error scenario.

    • type string | null

      The type of error that occurred.

    • description string | null

      Describes the error scenario that occurred.

    • correlationId string | null

      The correlationId of the request that originated the error.

    • errors array[object] | null

      A list containing the detail of the errors that occurred in this error scenario.

      Hide errors attributes Show errors attributes object
      • propertyName string | null

        The name of the property involved in the error.

      • description array[string] | null

        A description of each error associated with the given property.

  • Unauthorized

  • Forbidden

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: portal.cloudcockpit.com" \
 -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"
      ]
    }
  ]
}