JavaScript SDK: swarmhit.campaigns.delete(campaignId)
Permanently deletes the campaign and removes every lead's membership in it. This cannot be undone.
Authorization
bearerAuth AuthorizationBearer <token>
An API key created on the Access tokens page.
In: header
Path Parameters
id*string
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/campaigns/string"{ "data": { "ok": true }}