Skip to main content
DELETE
DELETE /v1/dataQuality/testCases/{id}

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

id
string
required
UUID of the test case to delete.
recursive
boolean
default:"false"
Recursively delete child entities.
hardDelete
boolean
default:"false"
Permanently delete the test case. If false, the test case is soft-deleted and can be restored.

Delete by Name

Use DELETE /v1/dataQuality/testCases/name/{fqn} to delete by fully qualified name.
fqn
string
required
Fully qualified name of the test case.
recursive
boolean
default:"false"
Recursively delete child entities.
hardDelete
boolean
default:"false"
Permanently delete the test case.

Restore a Soft-Deleted Test Case

Use PUT /v1/dataQuality/testCases/restore to restore a soft-deleted test case.
id
string
required
UUID of the soft-deleted test case to restore.
DELETE /v1/dataQuality/testCases/{id}

Returns

Soft delete returns the test case object with deleted: true. Hard delete returns no content (204). Restore returns the restored test case object.

Error Handling