PATCH /v1/dataQuality/testCases/{id}
Update a Test Case
Update test case properties using JSON Patch
PATCH
PATCH /v1/dataQuality/testCases/{id}
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Update a Test Case
Update a test case’s properties using JSON Merge Patch. You can update by ID or by fully qualified name.Update by ID
UUID of the test case to update.
Update by Name
UsePATCH /v1/dataQuality/testCases/name/{fqn} to update by fully qualified name.
Fully qualified name of the test case.
Body Parameters
Send a JSON object with the fields to update. Only provided fields are changed.Updated description in Markdown format.
Updated parameter values.
Updated list of owner references.
PATCH /v1/dataQuality/testCases/{id}
Returns
Returns the updated test case object with the new version number.Response
Unique identifier for the test case (UUID format).
Test case name.
Fully qualified name of the test case.
Updated description.
Incremented version number.
Error Handling
| Code | Error Type | Description |
|---|---|---|
400 | BAD_REQUEST | Invalid JSON patch or malformed request |
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to update this test case |
404 | NOT_FOUND | Test case with given ID or FQN does not exist |
409 | CONFLICT | Concurrent modification detected |