SnozeDevelopers
API referenceTemplates

Delete a template

Removes a workspace-owned template and records the deletion on the workspace event ledger; items already created from it are untouched. Requires `resources:write` in the workspace, and an unknown template returns not-found. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.

DELETE
/v1/workspaces/{workspaceId}/templates/{templateId}
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string
templateId*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/workspaces/string/templates/string"
{  "data": {    "id": "string"  }}