ArgorantDocs

Delete a campaign

delhttps://app.argorant.com/api/v1/campaigns/{campaign_id}
DELETE
/api/v1/campaigns/{campaign_id}

Deletes a draft, paused or stopped campaign with its emails, leads and results. An active campaign must be stopped first (409).

Authorization

BearerAuth
AuthorizationBearer <token>

Your API key from app.argorant.com/profile, sent as Authorization: Bearer <key>.

In: header

Path Parameters

campaign_id*string

Campaign id.

Response Body

application/json

application/json

application/json

Shell
curl -X DELETE "https://app.argorant.com/api/v1/campaigns/7f3a2c1e-9b4d-4e8a-a1c2-5d6e7f8a9b0c"
JSON
{  "ok": true,  "deleted": "7f3a2c1e-9b4d-4e8a-a1c2-5d6e7f8a9b0c"}