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.
Authorization
apiKey Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/workspaces/string/database-templates/string"{ "data": { "id": "string" }}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}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.