Campaigns

Delete Campaign

Delete a campaign.

Campaigns can only be deleted if they are in draft, changes_required, or ready status. This also permanently deletes associated resources. This operation cannot be undone.

delete/print-mail/v1/campaigns/{id}

Path parameters

idstring required

The unique identifier (campaign_...) for the campaign to delete.

Response

A confirmation object indicating the campaign was marked for deletion.

idstring required

A unique ID prefixed with campaign_

deletedtrue required

Changes

Changed in 1 of the 7 revisions of this API.24

    • added the new internal_server_error enum value to the error/type response property for the response status 500

      response-property-enum-value-added

    • added the new rate_limit_exceeded_error enum value to the error/type response property for the response status 429

      response-property-enum-value-added

    • added subschema #1 subschema #2 to the response body anyOf list for the response status 401

      response-body-any-of-added

    • added subschema #1 subschema #2 to the response body anyOf list for the response status 404

      response-body-any-of-added

    • removed subschema #1 subschema #2 from the response body anyOf list for the response status 401

      response-body-any-of-removed

    • removed subschema #1 subschema #2 from the response body anyOf list for the response status 404

      response-body-any-of-removed

    This revision also has 21 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog