campaign_mailings
Bulk delete campaign mailings
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/campaign_mailings_bulk_delete
Request
- Base URL: https://api.paubox.com/v1/marketing
- URL: https://api.paubox.com/v1/marketing/campaign_mailings_bulk_delete
- Auth: API key in header authorization
Request body
Response
An empty object. The response does not report how many records were deleted.
object required
Changes
No recorded changes to this operation across all 1 revision of this API.