Delete a record template
Removes a record template and the content surface holding its page body; records already created from it are untouched. Requires `databases:write` on the database, 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*stringdatabaseId*stringtemplateId*stringSuccess
application/json- response
data*curl -X DELETE 'https://api.snoze.dev/v1/workspaces/string/databases/string/record-templates/string'{ "data": { "id": "string" }}Update a record template
Changes a record template's label, description, prefilled `data`, or default flag, validating the data against the database's current fields. Requires `databases:write` on the database. An unknown template returns not-found, and the same label, description, and 1 MB data limits as creation apply.
Create a record from a record template
Creates a record whose values are the template's `data` overlaid with any `data` sent in the request, then copies the template's page content into the new record. Clients may preallocate `id` so an optimistic row keeps its identity. Requires `records:write` on the database; if copying the page content fails, the new record is deleted so no half-built record remains.