Delete a template
Removes the template and its versions. Deployments made from it are left as they are and keep the name and version they recorded.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
templateId*stringuuidIdempotency-Key?stringMakes retries safe. A repeated key with the same request returns the first result and sets
Idempotent-Replayed: true. The same key with a different request answers 409
idempotency.key_reused, and while the first request is still running 409
idempotency.in_progress. Results are kept for 24 hours. Server errors and refusals for lack
of sign-in or permission are not kept, so a retry runs again.
^[A-Za-z0-9_.:-]+$1 <= length <= 255Deleted.
curl -X DELETE 'https://wardn.example.com/api/v1/deployment-templates/497f6eca-6276-4993-bfeb-53cbbbba6f08'Get a template GET
The template with the content of its latest version.
Save a new version of a template PUT
Editing a template saves a new version. A version never changes after it is saved. Deployments made from the template keep the version they came from until someone updates them. Leave the summary out to have it worked out from what changed.