Skip to main content
DELETE
/
leads
/
{leadId}
/
variables
Erase Values of Custom Variables on a Lead
curl --request DELETE \
  --url https://api.lemlist.com/api/leads/{leadId}/variables \
  --header 'Authorization: Basic <encoded-value>'
{
  "ok": true
}
Using this endpoint, you are NOT deleting your custom variables, you are erasing the values within.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

leadId
string
required

The unique identifier of the lead

Query Parameters

customField1
string

Example custom variable

customField2
string

Example custom variable

customField3
string

Example custom variable

Response

Success

The response is of type object.