Delete contact
DEL
/v1/contacts/{id}Deletes a contact that nothing refers to, such as one created by mistake.
A contact with invoices, offers, subscriptions, journal entries or documents can't be deleted and returns 409; archive it with PUT /v1/contacts/{id} instead. Deleting a contact that's already gone returns 404.
Requires one ofcontacts:writewrite:draftwrite:ledger
Path parameters
- Contact ID
Errors
401Missing or invalid credentials403A scope is missing, or the company is archived404It doesn't exist in this company409The contact has history429You're over the rate limit500Something went wrong on our side
Every error has the same shape. See Errors.
curl -X DELETE https://api.numina.app/v1/contacts/550e8400-e29b-41d4-a716-446655440000 \
-H "Authorization: Bearer numi_YOUR_API_KEY"const response = await fetch("https://api.numina.app/v1/contacts/550e8400-e29b-41d4-a716-446655440000", {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.NUMINA_API_KEY}`,
},
});
const data = await response.json();import os
import requests
response = requests.delete(
"https://api.numina.app/v1/contacts/550e8400-e29b-41d4-a716-446655440000",
headers={
"Authorization": f"Bearer {os.environ['NUMINA_API_KEY']}",
},
)
data = response.json()