Update / Delete Check
Manage a structuring validation check by UUID: PUT applies a partial update, DELETE soft-deletes it while keeping past outcomes intact for audit trails.
/v1/structuring/checks/{id} manages a single in-pipeline validation check. Use PUT to modify its name, type, severity, config, sort order, or active status, and DELETE to soft-delete it. Soft-deleted checks set is_active to false and stop running against new results, but their historical check outcomes remain intact. To inspect a check's current configuration, read it from GET /v1/structuring/checks; there is no single-check GET route.
is_active = false) rather than permanently removed. Existing result check outcomes referencing this check are preserved./v1/structuring/checks/{id}Response
Response fields
Response (PUT)
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"user_schema_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"name": "Amount range check",
"description": "Validates total amount is within expected range",
"type": "value_range",
"severity": "warning",
"config": { "field": "total_amount", "min": 0, "max": 1000000 },
"is_active": true,
"sort_order": 0,
"created_at": "2024-09-01T10:00:00.000Z",
"updated_at": "2024-09-15T09:00:00.000Z",
"links": {
"self": "/v1/structuring/checks/a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}Response (DELETE)
{
"deleted": true
}Errors
Error responses
Use PUT to adjust thresholds (e.g. widening a value_range config) or to deactivate a check by setting is_active to false without deleting it. PUT is a partial update: only the keys you send are patched. Historical check outcomes referencing this check are preserved regardless of updates or soft-deletion, so audit trails remain intact.