---
title: "Soft-delete a contact with no activity"
method: DELETE
path: "/contacts/{id}"
tags: ["Contacts"]
---

# Soft-delete a contact with no activity

`DELETE /contacts/{id}`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/contacts/{id}`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Deletes only a contact nothing references. A contact with bank transactions, bank rules, invoices, quotes, credit notes, bills, purchase orders, payments, checks, recurring or scheduled payments, projects, deals, subscriptions, 1099/W-9 records, a TIN, or contact people is refused with 409 code contact_has_activity and an activity list; mark it inactive with PATCH isActive=false instead.

## Path parameters

- `id` string, uuid, required

## Response `200`

Deleted

## Other responses

- `409`: contact_has_activity: mark inactive instead
- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
