Delete a validation rule
Removes the rule so it no longer runs on record writes, and returns the deleted definition. Requires the `databases:write` permission and responds with not-found for an unknown rule. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.
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/validation-rules/string"{ "data": { "id": "string", "workspaceId": "string", "databaseId": "string", "label": "string", "condition": "string", "message": "string", "severity": "block", "fieldKey": "string", "enabled": true, "order": 0, "createdAt": "string", "updatedAt": "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 validation rule
Changes the rule's label, condition, message, severity, anchored field, enabled flag or order; disabling a rule stops it running without losing its definition. Requires the `databases:write` permission and responds with not-found for an unknown rule. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.
List the database templates of a workspace
Returns the workspace's saved database blueprints ordered by label, each with the manifest of fields and views it will create. Requires `databases:read` in the workspace.