DELETE

Delete Campaign


Permanently deletes a campaign.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Email Marketing
Learn more about app permissions.
Endpoint
DELETE
https://www.wixapis.com/email-marketing/v1/campaigns/{campaignId}

Path Params
campaignIdstringRequired

Campaign ID.

Response Object
Returns an empty object.
Delete Campaign
Request
cURL
curl -X DELETE 'https://www.wixapis.com/email-marketing/v1/campaigns/98b5a0b3-549b-4e58-b933-a8bd40923a14' \ -H 'Authorization: <AUTH>'
Response
JSON
{}
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?