SnozeDevelopers
API referenceDatabase templates

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.

DELETE
/v1/workspaces/{workspaceId}/databases/{databaseId}/record-templates/{templateId}

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

Path Parameters

workspaceId*string
databaseId*string
templateId*string

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X DELETE 'https://api.snoze.dev/v1/workspaces/string/databases/string/record-templates/string'
Example Response
{  "data": {    "id": "string"  }}