Azure Stack Tenant



Create a new Azure Stack tenant.

JSON request

provisioner string A UUID identifying the Azure Stack provider.
country string Two character ISO 3166 country code. The country have to be supported by the selected Provisioning Region
first_name string First name of the tenant. Maximum length is 50 characters.
last_name string Last name of the tenant. Maximum length is 50 characters.
email_address string Email address of the tenant.
locale string Locale in the form of XX_xx (language_territory)
company_name string Company name
address_line1 string First line of the address. Maximum length is 200 characters.
address_line2 string Second line of the address. Optional. Maximum length is 200 characters.
city string Max. length: 128
state string Depending on the selected country. Please check for valid values per country:
zip_code string Validation depending on the selected country. See valid values per country:
phone_number string Valid phone number.
domain_prefix string Sub-domain for the domain ({prefix} This domain will be used to access the account. Only alphanumeric (alphabetic and numeric) characters are allowed.

JSON response

Possible errors


curl \
--request POST \
--user "{{api_username}}:{{api_key}}" \
--data '
        "csp": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        "country": "NL",
        "first_name": "John",
        "last_name": "Doe",
        "email_address": "",
        "locale": "nl_NL",
        "company_name": "Johns inc.",
        "address": "Example street 13",
        "city": "Smallville",
        "state": "OV",
        "zip_code": "1234AB",
        "phone_number": "+31.612345678",
        "domain_prefix": "johnsinc",
' \
"{{api_base_url}}/azure-tenant" | python -m json.tool