WalletPassAPI Docs

API reference · Templates

Delete a template

DELETE/v1/templates/{slug}FreeSafe to retry with Idempotency-Key

Deletes it. Passes made from it are unchanged, and keep their values; they're no longer linked to it.

Path

slugstringrequired

The template's slug. org:<slug> for one your organization shares with this workspace (those can only be read).

Answer

200Deleted

unlinkedPasses is how many passes were made from it.

Errors

Every error has the same shape: see Errors.

StatusCodeWhen
403organization_templateIt's your organization's: change it in the dashboard, or duplicate it to make your own.
404not_foundNo template with that slug here.
409idempotency_conflictThe Idempotency-Key was already used for a different request.