Templates
Delete a template
Removes a template and all of its passes in test and live.
DELETE
Deleting is final and takes effect at once. The API and the dashboard stop returning the template and its passes, in both test and live, including voided ones. Active passes are voided first, so holders’ wallets show them as void.
A test key can only delete a template that has no live passes. Use a live key for one that does.
string
required
The template ID.
string
required
A unique value for this request.
Response
string
Always
template_deletion.string
The deleted template.
integer
How many passes this request deleted, across test and live.