---
title: "Delete Client"
method: DELETE
path: "/api/autopilot/clients/{client_id}"
tags: ["autopilot"]
---

# Delete Client

`DELETE /api/autopilot/clients/{client_id}`

## Request

- Base URL: `https://api.taxcompass.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.taxcompass.it/api/autopilot/clients/{client_id}`
- Auth: HTTP bearer

Soft-delete one customer. 404 when it isn't the caller's.

Soft because an issued invoice keeps a ``RESTRICT`` reference to its client
(see the store); the row stays reproducible, it just leaves the address book.

## Path parameters

- `client_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/taxcompass/apis/taxcompass-api.md) · [All operations](https://skmtc.dev/taxcompass/apis/taxcompass-api/llms.txt) · [OpenAPI document](https://skmtc.dev/taxcompass/apis/taxcompass-api/revisions/fef5fc6a9b91?raw)
