Checks the account name availability.

Changed on

Checks if account name is available.

post/subscriptions/{subscriptionId}/providers/Microsoft.Purview/checkNameAvailability

Request

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

Path parameters

subscriptionIdstring required

The ID of the target subscription.

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

namestring

Resource name to verify for availability

typestring

Fully qualified resource type which includes provider namespace

Response

The request has succeeded.

messagestring

Error message

nameAvailableboolean

Indicates if name is valid and available.

reason'Invalid' | 'AlreadyExists'

The reason the name is not available.

Changes