Sets the default account for the scope.

Sets the default account for the scope.

post/providers/Microsoft.Purview/setDefaultAccount

Parameters

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

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.