UpdateDataQualityTemplate
Updates the configuration of a data quality rule template in a specified workspace.
Operation description
You must purchase DataWorks Basic Edition or higher to use this operation.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
No |
The ID of the custom rule template. You can obtain the ID from the |
USER_DEFINED:2001 |
| ProjectId |
integer |
No |
The project ID. |
100001 |
| Spec |
string |
No |
The rule template configuration, passed as a string in YAML format. For more information about the configuration items, see Data quality spec configuration. |
name: Order table row count check catalog: Data quality/Completeness assertion: "row_count > 0" |
| Owner |
string |
No |
The account ID of the owner. |
95279527**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned result. |
||
| RequestId |
string |
The request ID. |
0bc14115***159376359 |
| Success |
boolean |
Indicates whether the rule template was updated successfully. |
true |
Examples
Success response
JSON format
{
"RequestId": "0bc14115***159376359",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.