Mail API reference

Mail API · Templates

delete/v1/workspaces/{workspace_id}/templates/{name}/draftAuth

Discard the unpublished draft. The published version is not changed.

Path parameters

workspace_id*string · uuid

Id of the workspace.

name*string

Name of the template.

Headers

Idempotency-Keystring

Opaque client-generated string (1–256 chars, `[A-Za-z0-9._:-]`) used to deduplicate retries within a 24h window. A retry with the same key and body returns the original response with `Idempotent-Replay: true`.

Response · 204

Draft discarded.