curl --request DELETE \ --url 'https://api.autosend.com/v1/campaigns/60d5ec49f1b2c72d9c8b4567' \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "campaignId": "60d5ec49f1b2c72d9c8b4567", "deleted": true } }
Permanently delete a campaign by ID using the AutoSend API.
<token>
Show data
Bearer authentication header of the form Bearer , where is your auth token.
Id of the campaign.
Campaign deleted successfully.
true