Skip to main content
DELETE
/
v1
/
templates
/
campaigns
/
{campaignTemplateId}
Delete Campaign Template
curl --request DELETE \
  --url https://{cluster}.voucherify.io/v1/templates/campaigns/{campaignTemplateId} \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>'
{
  "code": 404,
  "key": "not_found",
  "message": "Resource not found",
  "details": "Cannot find campaign_template with id camp_tpl_zLtn2H9fgcG3NwO7t4PAfHc",
  "request_id": "v-0f6d3efe61099b2824",
  "resource_id": "camp_tpl_zLtn2H9fgcG3NwO7t4PAfHc",
  "resource_type": "campaign_template"
}

Authorizations

X-App-Id
string
header
required
X-App-Token
string
header
required

Path Parameters

campaignTemplateId
string
required

Pass the campaign template ID that was assigned by Voucherify.

Example:

"camp_tpl_zLtn2H9fgcG3NwO7t4PAfHcq"

Response

Returns no content if deletion is successful.

Last modified on February 3, 2026