DELETE /v1/dataQuality/testCases/{id}
Delete a Test Case
Delete a test case by ID or name, with soft/hard delete options
DELETE
DELETE /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.
Delete a Test Case
Delete a test case by ID or fully qualified name. Supports soft delete (default), hard delete, and restore operations.Delete by ID
UUID of the test case to delete.
Recursively delete child entities.
Permanently delete the test case. If
false, the test case is soft-deleted and can be restored.Delete by Name
UseDELETE /v1/dataQuality/testCases/name/{fqn} to delete by fully qualified name.
Fully qualified name of the test case.
Recursively delete child entities.
Permanently delete the test case.
Restore a Soft-Deleted Test Case
UsePUT /v1/dataQuality/testCases/restore to restore a soft-deleted test case.
UUID of the soft-deleted test case to restore.
DELETE /v1/dataQuality/testCases/{id}
Returns
Soft delete returns the test case object withdeleted: true. Hard delete returns no content (204). Restore returns the restored test case object.
Error Handling
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to delete this test case |
404 | NOT_FOUND | Test case with given ID or FQN does not exist |