API Docs
  • Overview
  • Authentication
  • Errors
  • Error codes
  • Expanding Responses
  • API Reference
    • Contacts
      • The contact object
      • List all contacts
      • Total contacts
      • Retrieve a contact
      • Create a contact
      • Update a contact
      • Delete a contact
      • Bulk delete contacts
Con tecnología de GitBook
En esta página

¿Te fue útil?

  1. API Reference
  2. Contacts

Delete a contact

AnteriorUpdate a contactSiguienteBulk delete contacts

Última actualización hace 3 años

¿Te fue útil?

Delete a contact. Supply the unique contact ID from either a contact creation request or the contact list

Delete a contact

DELETE https://api.treevox.com/v1/contacts/:id

Path Parameters

Name
Type
Description

id*

Number

The Id of the contact to be delete

Headers

Name
Type
Description

Content-Type*

application/json

Accept-Encoding

gzip

x-api-key*

String

{
  "id": "1",
  "deleted": true
}
{
    "timestamp": "2021-11-25T03:45:20.986Z",
    "message": "Contact not found",
    "code": "contact_not_found"
}
your api key in treevox