Google Sheet Extension
PDF to Pass
Image to Pass
Soft-deletes a dynamic pass template and schedules deletion of every wallet pass that was issued from it. This is a cascading operation — both the template and all of its passes are removed.
Deleting a template removes every pass created from it. Apple and Google Wallet passes are queued for removal in the background — customers will see the passes disappear from their wallets as the batch processes. This action is not reversible via the API.
dynamicPassId of the template to delete.All API requests must include your API key in the request headers:
"apikey": "your-api-key-here"
curl -X DELETE 'https://app.addtowallet.co/api/v2/dynamicPass/template/686d0d92c2f0bc5cdf25c834' \ -H 'apikey: your-api-key-here'
The template is soft-deleted synchronously. Pass deletion is queued and a batchId is returned for tracking.
"Passes scheduled for deletion".null when no passes existed for this template. Poll Batch Status to confirm completion.{
"message": "Passes scheduled for deletion",
"batchId": "686d111dab9ab557fe3e5644"
}hasPass flag flipped to false as their passes are removed.| Error Code | Description |
|---|---|
| 401 | Unauthorized - Missing or invalid API key. |
| 404 | Not Found - Template with the specified ID does not exist or is already deleted. |
| 429 | Too Many Requests - API rate limit exceeded. Please wait before making additional requests. |
| 500 | Internal Server Error - Unexpected error scheduling template deletion. Please contact support. |