cURL
curl --request POST \ --url https://api.attent.app/v1/leads/{leadId}/turnOff \ --header 'x-api-key: <api-key>'
{ "message": "Lead turned off successfully." }
Turns Apten off for a lead
The ID of the lead to turn off Apten for.
Apten has successfully been turned off for the lead.
Returns "Lead turned off successfully." if Apten was turned off for the lead.
"Lead turned off successfully."