Delete a lead
DELETE
https://server.heyrik.com/api/v1/leads/{id}Path parameters
idRequiredReplace {id} in the request URL with the value for this resource.
Headers
AuthorizationstringRequiredUse Bearer $HEYRIK_API_KEY with an account-scoped API key. Keep the key on your server.
Response
Explore the example values. This is not a complete response schema.
dataobjectExplore 1 property
deletedbooleanExample true
DELETE/leads/{id}
cURL
curl -X DELETE https://server.heyrik.com/api/v1/leads/lead_71a4 \
-H "Authorization: Bearer $HEYRIK_API_KEY"Response example
JSON
{ "data": { "deleted": true } }Illustrative examples · No live request is sent
