Domains

Check if a domain is available for registration.

Check if a domain is available for registration.

post/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/checkDomainAvailability

Path parameters

subscriptionIdstring required

Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

Query parameters

api-versionstring required

API Version

Request body

NameIdentifier required— unresolved $ref

Response

OK

namestring

Name of the domain.

availableboolean

<code>true</code> if domain can be purchased using CreateDomain API; otherwise, <code>false</code>.

domainType'Regular' | 'SoftDeleted'

Valid values are Regular domain: Azure will charge the full price of domain registration, SoftDeleted: Purchasing this domain will simply restore it and this operation will not cost anything.

Changes

No recorded changes to this endpoint across all 4 revisions of this API.