---
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' — This property sets the connection region for Playwright client workers to cloud-hosted browsers. If enabled, workers connect to browsers in the closest Azure region, ensuring lower latency. If disabled, workers connect to browsers in the Azure region in which the workspace was initially created.
  - `scalableExecution` 'Enabled' | 'Disabled' — When enabled, Playwright client workers can connect to cloud-hosted browsers. This can increase the number of parallel workers for a test run, significantly minimizing test completion durations.
  - `reporting` 'Enabled' | 'Disabled' — When enabled, this feature allows the workspace to upload and display test results, including artifacts like traces and screenshots, in the Playwright portal. This enables faster and more efficient troubleshooting.

## 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.dev/azure/apis/playwrighttesting-microsoft-playwrighttesting-authmanager/revisions/ab7775633c7c?raw)
