---
title: "Removes the default account from the scope."
method: POST
path: "/providers/Microsoft.Purview/removeDefaultAccount"
---

# Removes the default account from the scope.

`POST /providers/Microsoft.Purview/removeDefaultAccount`

Removes the default account from the scope.

## Query parameters

- `scopeTenantId` string, uuid, required
- `scopeType` 'Tenant' | 'Subscription', required
- `scope` string

## Parameters

- `../../../../../../common-types/resource-management/v3/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Response `200`

The request has succeeded.

## Other responses

- `204` — There is no content to send for this request, but the headers may be useful.
- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2020-12-01-preview) `dc9fd4fa962d` — 1 warning, 1 info
  - deleted the `query` request parameter `api-version`
  - api tag `DefaultAccount` removed

[Change history](https://skmtc.dev/azure/apis/purview-microsoft-purview-purview/changes/providers/Microsoft.Purview/removeDefaultAccount/post.md)

---

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