Remove
curl --location --request DELETE 'https://{{base_url}}/v3/campaign/4be67f66-4228-480e-b86d-8f333dc46c3c' \
--header 'Content-type: application/json' \
--header 'Authorization: Bearer {{token}}'
Response trả về:
{
"campaign_uuid": "4be67f66-4228-480e-b86d-8f333dc46c3c"
}
Error Response trả về:
{
"error": "campaign must be deactive"
}
{
"error": "Not Found"
}
API này dùng để xóa chiến dịch.
HTTP Request
DELETE https://{{base_url}}/v3/campaign/{{campaign_uuid}}