Ir al contenido principal
Contacts

Delete contact by ID

Permanently deletes a contact by their Featurebase ID.

DELETE
/v2/contacts/{id}

Supports deleting both customers and leads.

Path Parameters

  • id - The Featurebase contact ID (24-character ObjectId)

Deletion Behavior

When a contact is deleted:

  • The contact record is permanently removed
  • Associated data cleanup is triggered asynchronously
  • Comments and posts created by the contact are handled according to retention policies

Response

Returns a deletion confirmation object:

  • id - The ID of the deleted contact
  • object - Always "contact"
  • deleted - Always true

Example Response

{
  "id": "676f0f6765bdaa7d7d760f88",
  "object": "contact",
  "deleted": true
}

Version Availability

This endpoint is only available in API version 2026-01-01.nova and newer.

Authorizationstringheaderobligatorio

API key as Bearer token. Use: Authorization: Bearer sk_...

idstringobligatorio

Featurebase contact ID

Ejemplo: 507f1f77bcf86cd799439011
Featurebase-Versionenum<string>header

API version for this request. Defaults to your organization's configured API version if not specified.

Opciones disponibles: 2026-08-19.orbit, 2026-01-01.nova, 2025-12-12.clover
Ejemplo: 2026-08-19.orbit

Respuesta

application/json

Success

deletedenum<boolean>obligatorio

Indicates the resource was deleted

Opciones disponibles: true
Ejemplo: true
idstringobligatorio

Unique identifier of the deleted contact

Ejemplo: 507f1f77bcf86cd799439011
objectenum<string>obligatorio

Object type identifier

Opciones disponibles: contact
Ejemplo: contact