Skip to main content
DELETE
https://api.getmalakai.com/api/
/
api
/
campaigns
/
outbound
/
{id}
Delete a Campaign
curl --request DELETE \
  --url https://api.getmalakai.com/api/api/campaigns/outbound/{id} \
  --header 'Authorization: <authorization>' \
  --header 'x-access-token: <x-access-token>'
{
  "responseCode": "2000",
  "message": "Campaign deleted successfully."
}

Headers

Authorization
string
required
Your API key for authentication. Prefix with Bearer .
x-access-token
string
required
Your access token for authentication.

Path Parameters

id
string
required
The unique identifier of the contact you want to delete.

Query Parameters

state
string
The state of the campaign e.g stopped

Response

A successful deletion will return a success status and message.
status
string
Confirms the request was successful.
message
string
A message indicating the result of the deletion.
{
  "responseCode": "2000",
  "message": "Campaign deleted successfully."
}