All Products
Search
Document Center

DataWorks:DeleteQualityRule

Last Updated:Mar 23, 2026

Deletes a data quality rule.

Note

This API has been deprecated. We recommend migrating to dataworks-public(2024-05-18) - UpdateDataQualityScan for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ProjectName

string

Yes

The name of the compute engine or data source.

autotest

RuleId

integer

Yes

The ID of the data quality rule.

1234

ProjectId

integer

Yes

The ID of the DataWorks workspace. You can log on to the DataWorks console and go to the Workspace Management page to obtain the workspace ID.

10000

Response elements

Element

Type

Description

Example

object

The response data.

HttpStatusCode

integer

The HTTP status code.

200

Data

boolean

Indicates whether the data quality rule was successfully deleted.

true

ErrorMessage

string

The error message returned if the request fails.

You have no permission.

RequestId

string

The ID of the request.

6d739ef6-098a-47****

ErrorCode

string

The error code returned if the request fails.

401

Success

boolean

Indicates whether the request was successful.

true

Examples

Success response

JSON format

{
  "HttpStatusCode": 200,
  "Data": true,
  "ErrorMessage": "You have no permission.",
  "RequestId": "6d739ef6-098a-47****",
  "ErrorCode": "401",
  "Success": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.