cURL
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" }
Deletes a specific campaign by its campaignId.
The ID of the campaign to delete
Campaign deleted successfully
The response is of type object.
object
Was this page helpful?