WalletPassAPI Docs

API reference · Templates

Rename a template

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

Changes its name or install page heading. Its design, version and passes stay as they are.

Path

slugstringrequired

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

Body

namestring, up to 80 characters

Its new name.

installHeadlinestring or null, up to 120 characters

The install page's heading for its passes. Null: ours.

Answer

200OK

Errors

Every error has the same shape: see Errors.

StatusCodeWhen
400validation_errorA field is wrong or unknown.
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.