---
title: "Delete User Address"
description: "Use DELETE /users/{user_id}/addresses/{address_id} to delete a user address."
canonical: https://docs.ordering.co/api-reference/guides/delete-user-address/
---

# Delete User Address

> **API operation:** [Open the endpoint in Scalar](https://docs.ordering.co/api-reference/#tag/users/DELETE/users/{user_id}/addresses/{address_id})

Use `DELETE /users/{user_id}/addresses/{address_id}` to delete a user address. The operation documented here is `Address.delete`.

The documented schema requires authentication and blocks a customer from deleting an address through another `user_id`. Do not assume the route enforces that `address_id` belongs to the supplied `user_id` for every role. Verify both identifiers and access controls before use. Deletion is destructive.

```javascript
const response = await ordering.users(userId).addresses(addressId).delete();
```

This SDK syntax is historical. Confirm the package and version before using it. See [User address model](https://docs.ordering.co/api-reference/guides/addresses-model/).

## OpenAPI reference

**Operation:** `DELETE /users/{user_id}/addresses/{address_id}`

**Path parameters**

| Name         | Type    | Required | Description |
| ------------ | ------- | -------- | ----------- |
| `user_id`    | integer | Yes      | —           |
| `address_id` | integer | Yes      | —           |

**Responses**

| Code | Description                           |
| ---- | ------------------------------------- |
| 200  | OK (Envelope)                         |
| 400  | Bad Request (ErrorResponse)           |
| 401  | Unauthorized                          |
| 404  | Not Found                             |
| 429  | Too Many Requests (ErrorResponse)     |
| 500  | Internal Server Error (ErrorResponse) |
| 503  | Service Unavailable (ErrorResponse)   |

[Open this operation in the API reference](https://docs.ordering.co/api-reference/#tag/users/DELETE/users/{user_id}/addresses/{address_id})
