Bulk delete campaign mailings
Marketing · Campaigns
Bulk delete campaigns
Permanently deletes the campaign mailings identified by campaign_mailing_ids. There is no single-delete endpoint; delete one mailing by passing an array of one ID.
This is irreversible. Deleting a mailing also removes its associated delivery and send records.
Omitting campaign_mailing_ids is a no-op and still returns 200 with an empty object.
Example curl command:
curl -X DELETE \
https://api.paubox.com/v1/marketing/campaign_mailings_bulk_delete \
-H 'authorization: Token token=YOUR_API_KEY' \
-H 'content-type: application/json' \
-d '{
"campaign_mailing_ids": ["123e4567-e89b-12d3-a456-426614174000"]
}'
DELETE
Bulk delete campaign mailings
Authorizations
Token-based authentication. Use format: "Token token=<API_KEY>" where <API_KEY> is your API key
Body
application/json
UUIDs of the campaign mailings to delete. Omit for a no-op.
Response
An empty object. The response does not report how many records were deleted.
The response is of type object.