DELETE
/
campaign
/
{campaignId}
Delete Campaign
curl --request DELETE \
  --url https://api.sendx.io/api/v1/rest/campaign/{campaignId} \
  --header 'X-Team-ApiKey: <api-key>'
{
  "id": 123,
  "message": "Campaign (Test Campaign) has been deleted successfully"
}

Authorizations

X-Team-ApiKey
string
header
required

Path Parameters

campaignId
string
required

The ID of the campaign to delete

Response

200
application/json

Campaign deleted successfully

The response is of type object.