For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete Contact Field

Delete existing Contact Field Please, note, you cannot delete a Contact Field which is used in Automations, Email Campaigns (started or scheduled), and in conditions of Contact Segments (you'll see the corresponding error)

delete
Authorizations
Api-TokenstringRequired

Pass the API token in the Api-Token

Path parameters
field_idinteger · int64 · min: 1Required

Unique Contact Field ID

Example: 3229
Responses
204

Contact Field successfully deleted

No content

delete/api/contacts/fields/{field_id}
curl -X DELETE https://mailtrap.io/api/contacts/fields/{field_id} \
  -H 'Authorization: Bearer YOUR_API_KEY'

No content

Last updated

Was this helpful?