---
title: "GET /accounts/{accountId}"
method: GET
path: "/accounts/{accountId}"
---

# GET /accounts/{accountId}

`GET /accounts/{accountId}`

Get details of the ARM resource mapped to an account for the given accountId.

## Path parameters

- `accountId` string, required

## Query parameters

- `api-version` string, required

## Headers

- `x-ms-client-request-id` string, uuid

## Response `200`

The request has succeeded.

- Account — An account is a parent resource for most of the other service resources. It's directly mapped to an ARM resource and helps to create a link between control-plane and data-plane resources.
  - `id` string, required — The account id.
  - `resourceId` string, required — The ARM fully-qualified resource id for the account.
  - `name` string, required — The account name.
  - `state` 'Active' | 'Inactive', required — The account state.
  - `subscriptionId` string, uuid, required — Universally Unique Identifier
  - `subscriptionState` 'Registered' | 'Warned' | 'Suspended' | 'Deleted' | 'Unregistered', required — The ARM-based subscription state.
  - `tenantId` string, uuid, required — Universally Unique Identifier
  - `location` string, required — The account resource ARM location, for eg. eastus, southeastasia.
  - `regionalAffinity` 'Enabled' | 'Disabled' — The enablement status of a feature.
  - `scalableExecution` 'Enabled' | 'Disabled' — The enablement status of a feature.
  - `reporting` 'Enabled' | 'Disabled' — The enablement status of a feature.

## Other responses

- `default` — An unexpected error response.

## Changes

- **2023-08-30** (2023-10-01-preview) `79448ffd9815` — 1 info
  - api operation id `Accounts_Get` removed and replaced with `Accounts_GetAccount`

[Change history](https://skmtc.dev/azure/apis/playwrighttesting-microsoft-playwrighttesting-authmanager/changes/accounts/:accountId/get.md)

---

[API](https://skmtc.dev/azure/apis/playwrighttesting-microsoft-playwrighttesting-authmanager.md) · [All operations](https://skmtc.dev/azure/apis/playwrighttesting-microsoft-playwrighttesting-authmanager/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/playwrighttesting-microsoft-playwrighttesting-authmanager/revisions/013f742fbbff/schema)
