Vincent is here! Just say the word, and Vincent will build the campaigns for you! Get early access.
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"
}Deletes the campaign template permanently.
📘 Campaign Templates – Documentation
Read the Campaign Templates documentation to learn more about this feature.
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"
}Documentation Index
Fetch the complete documentation index at: https://docs.voucherify.io/llms.txt
Use this file to discover all available pages before exploring further.
Pass the campaign template ID that was assigned by Voucherify.
"camp_tpl_zLtn2H9fgcG3NwO7t4PAfHcq"
Returns no content if deletion is successful.
Was this page helpful?