DeleteQualityRule

更新时间:
复制 MD 格式

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 DataWorks workspace ID. You can obtain the ID on the Workspace Management page of the DataWorks console.

10000

Response elements

Element

Type

Description

Example

object

The response data.

HttpStatusCode

integer

The HTTP status code.

200

Data

boolean

Whether the data quality rule was successfully deleted.

true

ErrorMessage

string

The error message returned on failure.

You have no permission.

RequestId

string

The request ID.

6d739ef6-098a-47****

ErrorCode

string

The error code returned on failure.

401

Success

boolean

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.