delete/v1/campaigns/{campaignId}

Path parameters

campaignIdstring required
Example:cmp_123

Response

Delete campaign

idstring required
namestring required
fromstring required
subjectstring required
previewTextstring nullable required
contactBookIdstring nullable required
htmlstring nullable required
contentstring nullable required
statusstring required
scheduledAtstring date-time nullable required
batchSizeinteger required
batchWindowMinutesinteger required
totalinteger required
sentinteger required
deliveredinteger required
openedinteger required
clickedinteger required
unsubscribedinteger required
bouncedinteger required
hardBouncedinteger required
complainedinteger required
replyTostring[] required
ccstring[] required
bccstring[] required
createdAtstring date-time required
updatedAtstring date-time required

Changes

Changed in 3 of the 27 revisions of this API.26

  • ee7832fe66a615See the full diff
    • added the new path request parameter campaignId

      new-request-path-parameter

    • removed the DRAFT enum value from the status response property for the response status 200

      response-property-enum-value-removed

    • removed the PAUSED enum value from the status response property for the response status 200

      response-property-enum-value-removed

    • removed the RUNNING enum value from the status response property for the response status 200

      response-property-enum-value-removed

    • removed the SCHEDULED enum value from the status response property for the response status 200

      response-property-enum-value-removed

    • removed the SENT enum value from the status response property for the response status 200

      response-property-enum-value-removed

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation