---
title: "Delete customer"
method: DELETE
path: "/public/v2/customers/{customer_id}/"
tags: ["Customers"]
---

# Delete customer

`DELETE /public/v2/customers/{customer_id}/`

Delete a customer by ID. Fails if the customer is referenced by other records.

## Path parameters

- `customer_id` integer, required

## Headers

- `Idempotency-Key` string

## Response `200`

OK

- SuccessSchema
  - `success` true
  - `errors` object

## Other responses

- `400` — Bad Request
- `422` — Unprocessable Content
- `500` — Internal Server Error

## Changes

> 14 revisions in range; 1 could not be searched.

- **2026-08-12** `34b7cf5b4b6c` — 1 info
  - added the new optional `header` request parameter `Idempotency-Key`

[Change history](https://skmtc.dev/dualentry/apis/dualentry-public-api/changes/public/v2/customers/:customer_id/delete.md)

---

[API](https://skmtc.dev/dualentry/apis/dualentry-public-api.md) · [All operations](https://skmtc.dev/dualentry/apis/dualentry-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dualentry/dualentry-public-api/revisions/48edcb3acb74/schema)
