---
title: "GET /domains/{domainName}"
method: GET
path: "/domains/{domainName}"
tags: ["Domain"]
---

# GET /domains/{domainName}

`GET /domains/{domainName}`

Get a domain

## Path parameters

- `domainName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

- Domain — Domain resource.
  - `containerType` 'Domain' | 'Collection' — Gets the container type.
  - `description` string — Gets or sets the description.
  - `environment` 'Prod' | 'Test' — Gets the environment of the domain.
  - `friendlyName` string — Gets or sets the friendly name of the domain.
  - `identity` Identity — The Managed Identity of the resource
    - `principalId` string — Service principal object Id
    - `tenantId` string — Tenant Id
    - `type` 'None' | 'SystemAssigned' | 'UserAssigned' — Identity Type
    - `userAssignedIdentities` object — User Assigned Identities
  - `mergeInfo` DomainMergeInfo — The public Domain Merge Info model.
    - `accountLocation` string — The account location of the source account in the merge operation.
    - `accountName` string — The account name of the source account in the merge operation.
    - `accountResourceGroupName` string — The resource group name of the source account in the merge operation.
    - `accountSubscriptionId` string — The subscription id of the source account in the merge operation.
    - `mergeStatus` 'Succeeded' | 'Failed' | 'InProgress' — The status of the merge operation.
  - `name` string — Gets the name.
  - `provisioningState` 'Unknown' | 'Creating' | 'Moving' | 'Deleting' | 'Failed' | 'Succeeded' — Gets the state of the provisioning.
  - `systemData` SystemData — Metadata pertaining to creation and last modification of the resource.
    - `createdAt` string, date-time — The timestamp of resource creation (UTC).
    - `createdBy` string — The identity that created the resource.
    - `createdByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key' — The type of identity that created the resource.
    - `lastModifiedAt` string, date-time — The timestamp of the last modification the resource (UTC).
    - `lastModifiedBy` string — The identity that last modified the resource.
    - `lastModifiedByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key' — The type of identity that last modified the resource.

## Other responses

- `default` — An error response received from the provider.

---

[API](https://skmtc.net/azure/apis/purview-account.md) · [All operations](https://skmtc.net/azure/apis/purview-account/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/purview-account/revisions/dc51c3b3ddf7/schema)
