All Products
Search
Document Center

DataWorks:DeleteQualityRule

Last Updated:Oct 17, 2024

Deletes a monitoring rule.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ProjectNamestringYes

The name of the compute engine or data source.

autotest
RuleIdlongYes

The monitoring rule ID.

1234
ProjectIdlongYes

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

10000

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

HttpStatusCodeinteger

The HTTP status code.

200
Databoolean

Indicates whether the monitoring rule was deleted.

true
ErrorMessagestring

The error message.

You have no permission.
RequestIdstring

The request ID.

6d739ef6-098a-47****
ErrorCodestring

The error code.

401
Successboolean

Indicates whether the request was successful.

true

Examples

Sample success responses

JSONformat

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

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-08-29The internal configuration of the API is changed, but the call is not affectedView Change Details
2023-03-08The request parameters of the API has changedView Change Details