DELETE
/
2022-05
/
segments
/
{segmentId}
/
customers
/
{email}
Delete Lead
curl --request DELETE \
  --url https://api.reportana.com/2022-05/segments/{segmentId}/customers/{email} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: <content-type>'
{
  "success": true,
  "data": null
}

Use this endpoint to delete a lead from a list in your Reportana store. The email parameter is required and must match the email address of the lead to be removed.

Headers

Authorization
string
required

Basic base64(client_id + ’:’ + client_secret)

Content-Type
string
required

Content-Type:application/json

Parameters

segmentId
string
required

Segmentation ID.

Example: 1.

email
string
required

Lead’s email.

Example: “johndoe@gmail.com”.

{
  "success": true,
  "data": null
}