POST
/
v1
/
delete_campaign
curl --request POST \
  --url https://api.campaigncleaner.com/v1/delete_campaign \
  --header 'Content-Type: application/json' \
  --data '{
  "campaign": {
    "id": "{{campaign_id}}"
  }
}'
{
  "status": "success"
}

The delete_campaign API endpoint allows you to delete any of the campaigns in your saved campaigns in Campaign Cleaner.

Request Body:

campaign:

  • id: The campaign id that will be used in other API calls.

Response:

  • status: success or failure, failures can occur when the campaign_id doesn’t exists or was deleted.

In the event of an error, you will get an ”error:” response, with a description of the reason.

Headers

X-CC-API-Key
string

Body

application/json · object

The body is of type object.

Response

200 - application/json

The response is of type object.