---
title: "Remove customer address"
method: DELETE
path: "/api/v1/customers/{customerId}/addresses/{addressId}"
tags: ["customer-addresses"]
---

# Remove customer address

`DELETE /api/v1/customers/{customerId}/addresses/{addressId}`

## Request

- Base URL: `https://oms-api.tenant.krzlabs.io`
- URL: `https://oms-api.tenant.krzlabs.io/api/v1/customers/{customerId}/addresses/{addressId}`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/kruzer-corp/apis/oms-api/docs/api/v1/customers/:customerId/addresses/:addressId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes the address from the customer addresses array.

## Path parameters

- `customerId` string, uuid, required
- `addressId` string, uuid, required

## Response `204`

Address removed.

## Other responses

- `400`: Path parameter is not a UUID.
- `401`: Authentication is missing, malformed, expired, or refers to a session that is no longer active.
- `403`: The caller is authenticated but lacks the required permission for this action.
- `404`: One of the referenced resources (Customer, CustomerAddress) was not found in the caller account.
- `500`: Unexpected server error. The response body never leaks internal details.

## Changes

- **2026-07-07** `84194c31ab85`: 1 warning, 1 info
  - deleted the `query` request parameter `newDefaultId`
  - removed the non-success response with the status `422`

[Operation history](https://skmtc.dev/kruzer-corp/apis/oms-api/changes/api/v1/customers/:customerId/addresses/:addressId/delete.md)

---

[API](https://skmtc.dev/kruzer-corp/apis/oms-api.md) - [All operations](https://skmtc.dev/kruzer-corp/apis/oms-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kruzer-corp/apis/oms-api/revisions/38ef6e16a7a8?raw)
