Saltar al contenido principal
DELETE
/
v1
/
contacts
/
{contactId}
/
tags
/
{tagId}
curl -X DELETE "https://api.contactship.ai/v1/contacts/c1d2e3f4-a5b6-7890-cdef-123456789012/tags/tag-a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
  -H "x-api-key: your-api-key"
true
Removes a tag from a contact. The tag itself is not deleted — only the assignment is removed.

Headers

x-api-key
string
requerido
Your API key for authentication. Found in your dashboard under API settings.

Path Parameters

contactId
string
requerido
The UUID of the contact.
tagId
string
requerido
The UUID of the tag to remove.

Response

Returns true on successful removal.

Error Codes

  • 401 Unauthorized — Invalid or missing API key
  • 404 Not Found — Contact, tag, or assignment not found
  • 500 Internal Server Error — Server-side error

Code Examples

curl -X DELETE "https://api.contactship.ai/v1/contacts/c1d2e3f4-a5b6-7890-cdef-123456789012/tags/tag-a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
  -H "x-api-key: your-api-key"
true