DELETE
Delete a contact
Scope:
contacts:contacts.writehttps://api.holded.com/api/v2/contacts/{contactId}Permanently deletes a contact from your account. This action cannot be undone. Existing documents (invoices, estimates, etc.) linked to this contact will retain the contact name for display purposes, but the live association is removed. You will not be able to filter documents by this contact after deletion. A user with limited access to contacts can only delete the contacts they can see; any other contact is reported as not found.
Parameters
Path parameters
contactId
stringrequiredContact ID (24-char hex ObjectId)
Request
python
import requests
url = "https://api.holded.com/api/v2/contacts/{contactId}"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.delete(url, headers=headers)
print(response.json())Responses
Success responses
204Resource deletedError responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Contact not foundapplication/json429Rate limit exceededapplication/json