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 'Authorization: Bearer <token>' \
  --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
Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

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 December 3, 2025