# Delete the account

URL: /docs/api/storefront/customers/delete-the-account

## DELETE /v1/account

```http
DELETE https://api.elaraone.app/api/v1/account
```

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `current_password` | query | string | yes |  |
| `X-Client-IP` | header | string |  | Optional. IP address of the shopper (one IPv4/IPv6, no port, no list). Honoured only together with a valid X-Tenant-Secret; ignored otherwise. Used for rate limits and recorded with form submissions. |
| `X-Tenant-Secret` | header | string |  | Optional here. Server secret of the store: server-to-server only, never from a browser. Enables X-Client-IP. |

### Responses

- **200**: See the schema.
- **401**: Unauthenticated
- **402**: Payment required. Branch on `error.code`: - `TENANT_PAYMENT_REQUIRED`: this store is on payment hold. Show a "store temporarily unavailable" page; do not retry the request.
- **422**: Validation error