Delete
DELETE /v1/campaigns/customers/{customer_id}/campaigns/{id}
Deletes an existing campaign.
Path Parameters
customer_id
integer
Required
The id of the customer.
Example Request
curl -X DELETE https://api.realmailers.com/v1/campaigns/customers/{customer_id}/campaigns/{id} \
-H 'Authorization: Bearer YOUR_API_KEY'
Response Schema
{
scheduled_at: Timestamp(ISO8601)
created_at: Timestamp(ISO8601)
updated_at: Timestamp(ISO8601)
sent_at: Timestamp(ISO8601)
expected_delivery_date: String
send_copy_to_sender: Boolean
recipient_count: Number
property_filter: JSON
postage_class: String
template_id: Number
status: String
price: String
proof: URL
size: Size
id: Number
thumbnails: Array(URL)
designs: Array(URL)
exposed_addresses: Array({
address_country: String
address_line1: String
address_state: String
address_city: String
address_zip: String
variables: JSON
company: String
name:String
})
sender: {
address_country: String
address_line1: String
address_state: String
address_city: String
address_zip: String
variables: JSON
company: String
name:String
}
meta_data: {
key: String
}
}