Remove
curl --location --request DELETE 'https://{{base_url}}/v3/lead/b9285f8a-4e3c-40f1-aed7-840b1d5e6118' \
--header 'Content-type: application/json' \
--header 'Authorization: Bearer {{token}}'
Response trả về:
{
"lead_uuid": "b9285f8a-4e3c-40f1-aed7-840b1d5e6118"
}
Error Response trả về:
{
"error": "Not Found"
}
API này dùng để lead ra khỏi danh sách, khỏi hệ thống.
HTTP Request
DELETE https://{{base_url}}/v3/lead/{{lead_uuid}}