Skip to main content

Delete Field

Delete a contact field by its ID.


Endpoint

DELETE https://api.campaignlark.com/v1/fields/:id

Path Parameters

ParameterTypeRequiredDescription
idintegerrequiredThe field ID.

Sample Request

DELETE https://api.campaignlark.com/v1/fields/6

Response

Success — 200 OK

{
"data": "The field has been deleted successfully."
}

Errors

StatusMessageCause
400This field is immutable and cannot be deleted.Immutable fields (e.g. email_address) cannot be deleted.
400Cannot delete this field because it is being used in the '{name}' segment.The field is referenced by a single segment.
400Cannot delete this field because it is being used in {n} segments.The field is referenced by multiple segments.
400Validation errorAn import or export is currently in progress.