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.

Changes

Changed in 1 of the 4 revisions of this API.11

  • 2020-12-01-previewdc9fd4fa962d11See the full diff
    • deleted the query request parameter api-version

      request-parameter-removed

    • api tag DefaultAccount removed

      api-tag-removed