---
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.

## Changes

- **2026-07-13** (2018-01-01) `6e837c6ef46d` — 3 warning, 1 info
  - deleted the `path` request parameter `location`
  - deleted the `path` request parameter `subscriptionId`
  - deleted the `query` request parameter `api-version`
  - api tag `Service` removed
- **2026-07-13** (2018-01-01) `a5a0c2b247e2` — 1 info
  - endpoint deprecated

[Change history](https://skmtc.dev/azure/apis/databox-microsoft-databox-databox/changes/subscriptions/:subscriptionId/providers/Microsoft.DataBox/locations/:location/validateAddress/post.md)

---

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