---
title: "POST /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress"
tags: ["Service"]
deprecated: true
---

# POST /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress

`POST /subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress`

> **Deprecated.**

[DEPRECATED NOTICE: This operation will soon be removed]. This method validates the customer shipping address and provide alternate addresses if any.

## Path parameters

- `subscriptionId` string, required
- `location` string, required

## Query parameters

- `api-version` string, required

## Request body

- ValidateAddress — Minimum fields that must be present in any type of validation request.
  - `validationType` 'ValidateAddress' | 'ValidateSubscriptionIsAllowedToCreateJob' | 'ValidatePreferences' | 'ValidateCreateOrderLimit' | 'ValidateSkuAvailability' | 'ValidateDataTransferDetails', required — Identifies the type of validation request.

## Response `200`

The valid and alternate addresses.

- AddressValidationOutput — Output of the address validation api.
  - `properties` AddressValidationProperties — Minimum properties that should be present in each individual validation response.
    - `validationType` 'ValidateAddress' | 'ValidateSubscriptionIsAllowedToCreateJob' | 'ValidatePreferences' | 'ValidateCreateOrderLimit' | 'ValidateSkuAvailability' | 'ValidateDataTransferDetails', required — Identifies the type of validation response.
    - `error` CloudError — Provides additional information about an http error response.
      - `additionalInfo` AdditionalErrorInfo[] — Gets or sets additional error info.
        - `info` object — Additional information of the type of error.
        - `type` string — Type of error (e.g. CustomerIntervention, PolicyViolation, SecurityViolation).
      - `code` string — Error code.
      - `details` CloudError[] — Gets or sets details for the error.
      - `message` string — The error message parsed from the body of the http error response.
      - `target` string — Gets or sets the target of the error.

## Other responses

- `default` — Error response describing reason for operation failure.

---

[API](https://skmtc.net/azure/apis/databox-microsoft-databox-databox.md) · [All operations](https://skmtc.net/azure/apis/databox-microsoft-databox-databox/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/databox-microsoft-databox-databox/revisions/39263cdb4fab/schema)
