Template
Delete a template
DELETE /template/{id}
DELETE /template/{id}
Soft-deletes the template. Requires the manageTemplates permission.
Responses
200 — Template deleted successfully
Response Example
{
"success": true
}400 — Template cannot be deleted (e.g., used as generic template)
403 — Unauthorized / missing permission
404 — Template not found
500 — Internal error