---
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' | 'ValidateDataDestinationDetails' | 'ValidateSubscriptionIsAllowedToCreateJob' | 'ValidatePreferences' | 'ValidateCreateOrderLimit' | 'ValidateSkuAvailability', 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' | 'ValidateDataDestinationDetails' | 'ValidateSubscriptionIsAllowedToCreateJob' | 'ValidatePreferences' | 'ValidateCreateOrderLimit' | 'ValidateSkuAvailability', required — Identifies the type of validation response.
    - `error` Error — Top level error for the job.
      - `code` string — Error code that can be used to programmatically identify the error.
      - `message` string — Describes the error in detail and provides debugging information.

## Other responses

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

---

[API](https://skmtc.net/azure/apis/databoxmanagementclient.md) · [All operations](https://skmtc.net/azure/apis/databoxmanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/databoxmanagementclient/versions/a5a0c2b247e2/schema)
