Microsoft Playwright Accounts API

The Accounts API from Microsoft Playwright — 8 operation(s) for accounts.

GitHub OpenAPI

Operations 7

GET /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/accounts Accounts list by subscription #
POST /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/checkNameAvailability Accounts check name availability #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts Accounts list by resource group #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName} Accounts get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName} Accounts create or update #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName} Accounts update #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName} Accounts delete #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-playwright:microsoft-playwright-accounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-playwright-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft AzurePlaywrightService Management Accounts API
  version: '2024-12-01'
  description: Microsoft.AzurePlaywrightService Resource Provider Management API.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Accounts
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/accounts:
    get:
      operationId: Accounts_ListBySubscription
      tags:
      - Accounts
      description: List Account resources by subscription ID
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Accounts list by subscription
      x-summary-source: derived
  /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/checkNameAvailability:
    post:
      operationId: Accounts_CheckNameAvailability
      tags:
      - Accounts
      description: Adds check global name availability operation, normally used if a resource name must be globally unique.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckNameAvailabilityResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckNameAvailabilityRequest'
        description: The CheckAvailability request
        required: true
      summary: Accounts check name availability
      x-summary-source: derived
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts:
    get:
      operationId: Accounts_ListByResourceGroup
      tags:
      - Accounts
      description: List Account resources by resource group
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Accounts list by resource group
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}
  : get:
      operationId: Accounts_Get
      tags:
      - Accounts
      description: Get a Account
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: Name of account.
        required: true
        schema:
          type: string
          maxLength: 64
          minLength: 3
          pattern: ^[a-zA-Z]{1}[a-zA-Z0-9]{2,63}$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Accounts get
      x-summary-source: derived
    put:
      operationId: Accounts_CreateOrUpdate
      tags:
      - Accounts
      description: Create a Account
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: Name of account.
        required: true
        schema:
          type: string
          maxLength: 64
          minLength: 3
          pattern: ^[a-zA-Z]{1}[a-zA-Z0-9]{2,63}$
      responses:
        '200':
          description: Resource 'Account' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
        '201':
          description: Resource 'Account' create operation succeeded
          headers:
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Account'
        description: Resource create parameters.
        required: true
      summary: Accounts create or update
      x-summary-source: derived
    patch:
      operationId: Accounts_Update
      tags:
      - Accounts
      description: Update a Account
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: Name of account.
        required: true
        schema:
          type: string
          maxLength: 64
          minLength: 3
          pattern: ^[a-zA-Z]{1}[a-zA-Z0-9]{2,63}$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountUpdate'
        description: The resource properties to be updated.
        required: true
      summary: Accounts update
      x-summary-source: derived
    delete:
      operationId: Accounts_Delete
      tags:
      - Accounts
      description: Delete a Account
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: Name of account.
        required: true
        schema:
          type: string
          maxLength: 64
          minLength: 3
          pattern: ^[a-zA-Z]{1}[a-zA-Z0-9]{2,63}$
      responses:
        '202':
          description: Resource deletion accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Accounts delete
      x-summary-source: derived
components:
  schemas:
    ErrorResponse:
      type: object
      title: Error response
      description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The error object.
    AccountProperties:
      type: object
      description: Account resource properties.
      properties:
        dashboardUri:
          type: string
          format: uri
          description: The Playwright testing dashboard URI for the account resource.
          readOnly: true
        regionalAffinity:
          type: string
          description: 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.
          default: Enabled
          enum:
          - Enabled
          - Disabled
          x-ms-enum:
            name: EnablementStatus
            modelAsString: true
            values:
            - name: Enabled
              value: Enabled
              description: The feature is Enabled.
            - name: Disabled
              value: Disabled
              description: The feature is Disabled.
        scalableExecution:
          type: string
          description: 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.
          default: Enabled
          enum:
          - Enabled
          - Disabled
          x-ms-enum:
            name: EnablementStatus
            modelAsString: true
            values:
            - name: Enabled
              value: Enabled
              description: The feature is Enabled.
            - name: Disabled
              value: Disabled
              description: The feature is Disabled.
        reporting:
          type: string
          description: 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.
          default: Enabled
          enum:
          - Enabled
          - Disabled
          x-ms-enum:
            name: EnablementStatus
            modelAsString: true
            values:
            - name: Enabled
              value: Enabled
              description: The feature is Enabled.
            - name: Disabled
              value: Disabled
              description: The feature is Disabled.
        localAuth:
          type: string
          description: When enabled, this feature allows the workspace to use local auth (through service access token) for executing operations.
          default: Disabled
          enum:
          - Enabled
          - Disabled
          x-ms-enum:
            name: EnablementStatus
            modelAsString: true
            values:
            - name: Enabled
              value: Enabled
              description: The feature is Enabled.
            - name: Disabled
              value: Disabled
              description: The feature is Disabled.
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The status of the last operation.
          readOnly: true
    Account:
      type: object
      description: A Playwright service account resource.
      properties:
        properties:
          $ref: '#/components/schemas/AccountProperties'
          description: The resource-specific properties for this resource.
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/TrackedResource'
    TrackedResource:
      type: object
      title: Tracked Resource
      description: The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
          x-ms-mutability:
          - read
          - create
          - update
        location:
          type: string
          description: The geo-location where the resource lives
          x-ms-mutability:
          - read
          - create
      required:
      - location
      allOf:
      - $ref: '#/components/schemas/Resource'
    CheckNameAvailabilityResponse:
      type: object
      description: The check availability result.
      properties:
        nameAvailable:
          type: boolean
          description: Indicates if the resource name is available.
        reason:
          type: string
          description: The reason why the given name is not available.
          enum:
          - Invalid
          - AlreadyExists
          x-ms-enum:
            name: CheckNameAvailabilityReason
            modelAsString: true
        message:
          type: string
          description: Detailed reason why the given name is available.
    AccountUpdateProperties:
      type: object
      description: The updatable properties of the Account.
      properties:
        regionalAffinity:
          $ref: '#/components/schemas/EnablementStatus'
          description: 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:
          $ref: '#/components/schemas/EnablementStatus'
          description: 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:
          $ref: '#/components/schemas/EnablementStatus'
          description: 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.
        localAuth:
          $ref: '#/components/schemas/EnablementStatus'
          description: When enabled, this feature allows the workspace to use local auth (through service access token) for executing operations.
    EnablementStatus:
      type: string
      description: The enablement status of a feature.
      enum:
      - Enabled
      - Disabled
      x-ms-enum:
        name: EnablementStatus
        modelAsString: true
        values:
        - name: Enabled
          value: Enabled
          description: The feature is Enabled.
        - name: Disabled
          value: Disabled
          description: The feature is Disabled.
    CheckNameAvailabilityRequest:
      type: object
      description: The check availability request body.
      properties:
        name:
          type: string
          description: The name of the resource for which availability needs to be checked.
        type:
          type: string
          description: The resource type.
    ProvisioningState:
      type: string
      description: The status of the current operation.
      enum:
      - Succeeded
      - Failed
      - Canceled
      - Creating
      - Deleting
      - Accepted
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
        values:
        - name: Succeeded
          value: Succeeded
          description: Resource has been created.
        - name: Failed
          value: Failed
          description: Resource creation failed.
        - name: Canceled
          value: Canceled
          description: Resource creation was canceled.
        - name: Creating
          value: Creating
          description: Creation in progress..
        - name: Deleting
          value: Deleting
          description: Deletion in progress..
        - name: Accepted
          value: Accepted
          description: Change accepted for processing..
      readOnly: true
    AccountUpdate:
      type: object
      description: The type used for update operations of the Account.
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
        properties:
          $ref: '#/components/schemas/AccountUpdateProperties'
          description: The resource-specific properties for this resource.
          x-ms-client-flatten: true
    AccountListResult:
      type: object
      description: The response of a Account list operation.
      properties:
        value:
          type: array
          description: The Account items on this page
          items:
            $ref: '#/components/schemas/Account'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.