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.
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*stringruleId*stringSuccess
application/json- response
data*curl -X DELETE 'https://api.snoze.dev/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" }}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.
Configure sub-records and progress
Requires database write access. Creates or adopts an optional reciprocal Parent(one)/Sub-records(many) relation in a native database and configures checkbox/status/select completion. Disabling preserves links and hierarchy invariants. Send an Idempotency-Key for retryable mutations.