Delete a database template
Removes a saved database template and records the deletion on the workspace event ledger; databases already created from it are untouched. Requires `databases:write` in the workspace, and an unknown template returns not-found.
apiKeyAuthorizationBearer <snoze_sk_…>Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
workspaceId*stringtemplateId*stringSuccess
application/json- response
data*curl -X DELETE 'https://api.snoze.dev/v1/workspaces/string/database-templates/string'{ "data": { "id": "string" }}Update a database template
Changes the label, description, icon, or manifest of a saved database template and records the change on the workspace event ledger. Requires `databases:write` in the workspace. An unknown template returns not-found, and the same label, description, and manifest limits as creation apply; a label already taken by another template is rejected.
Create a database from a template
Builds a new database from a saved template's manifest, creating its fields and views, and returns the full database detail. Optional `label`, `parentItemId`, and `order` place the new database in the workspace tree. Requires `databases:write` in the workspace; an unknown template returns not-found.