Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.01 KB

removeDefaultAccount.md

File metadata and controls

34 lines (26 loc) · 1.01 KB

pv management removeDefaultAccount

Command Reference > management > removeDefaultAccount

Description

Removes the default account from the scope.

Syntax

pv management removeDefaultAccount --scopeTenantId=<val> --scopeType=<val> --scope=<val>

Required Arguments

--scopeTenantId (string)
The tenant ID.

--scopeType (string)
The scope for the default account (Subscription OR Tenant).

--scope (string)
The Id of the scope object, for example if the scope is "Subscription" then it is the ID of that subscription.

Optional Arguments

None

API Mapping

Default Accounts > Remove

POST https://management.azure.com/providers/Microsoft.Purview/removeDefaultAccount

Examples

pv management removeDefaultAccount --scopeTenantId "72f988bf-86f1-41af-91ab-2d7cd011db47" --scopeType "Subscription" --scope "2c334b6c-e556-40ac-a4c0-c0d1d2e08ca0"