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
}

Documentation Index

Fetch the complete documentation index at: https://developer.lemlist.com/llms.txt

Use this file to discover all available pages before exploring further.

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.