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.
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/databases/string/record-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 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.