Update a Test Case
Create or update a test case with a full request body
PUT
PUT /v1/dataQuality/testCases
Update a Test Case
Create a test case or update it if it already exists, usingPUT /v1/dataQuality/testCases with the full request body. Send the complete definition, not just the fields you want to change. To change only some fields, use PATCH with a JSON Patch array and the application/json-patch+json content type, as shown in the PATCH examples below.
Body Parameters
string
required
Name of the test case. Must be unique within the target entity scope.
string
required
Fully qualified name (FQN) of the test definition to use. For example,
columnValueMaxToBeBetween.string
required
Entity link to the target table or column. Format:
<#E::table::tableFQN> for table-level or <#E::table::tableFQN::columns::colName> for column-level.array
Array of parameter name/value pairs as defined by the test definition.
string
Description of the test case in Markdown format.
string
Human-readable display name for the test case.
array
Array of reviewer references (users or teams). Each item accepts the same fields as
owners.boolean
Compute the passed and failed row count for the test case. Defaults to
false.boolean
Use dynamic assertion to evaluate the test case, if the test definition supports it. Defaults to
false.array
Names of the columns to group test results by. When set, the test runs overall and grouped by these columns. Defaults to
[].integer
Number of top dimension values to show before the rest are grouped as
Others. Accepts 1 to 50. Defaults to 5.string
Name of the data quality dimension for this test case. Defaults to the dimension of the test definition. Accepts a built-in dimension or any custom dimension registered in Settings > Preferences > Data Quality.
array
Array of owner references (users or teams) to assign.
PUT /v1/dataQuality/testCases
Returns
Returns the updated test case object with the new version number.Response
string
Unique identifier for the test case (UUID format).
string
Test case name.
string
Fully qualified name of the test case.
string
Updated description.
number
Incremented version number.