Sets the default account for the scope.

Changed on

Sets the default account for the scope.

post/providers/Microsoft.Purview/setDefaultAccount

Request

  • Base URL
    https://management.azure.com
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

accountNamestring

The name of the account that is set as the default.

resourceGroupNamestring

The resource group name of the account that is set as the default.

scopestring

The scope object ID. For example, sub ID or tenant ID.

scopeTenantIdstring

The scope tenant in which the default account is set.

scopeType'Tenant' | 'Subscription'

The scope where the default account is set.

subscriptionIdstring

The subscription ID of the account that is set as the default.

Response

The request has succeeded.

accountNamestring

The name of the account that is set as the default.

resourceGroupNamestring

The resource group name of the account that is set as the default.

scopestring

The scope object ID. For example, sub ID or tenant ID.

scopeTenantIdstring

The scope tenant in which the default account is set.

scopeType'Tenant' | 'Subscription'

The scope where the default account is set.

subscriptionIdstring

The subscription ID of the account that is set as the default.

Changes