Deletes a subscriber of a partition filter expression. The deleted subscriber no longer receives notifications even if a subscribed monitoring rule of Data Quality is triggered.

In Data Quality, you must configure monitoring rules based on a partition filter expression. Data Quality uses these rules to detect changes in source data and dirty data generated during the process of extract, transformation, load (ETL). Thereby, Data Quality automatically blocks the nodes that involve dirty data to stop dirty data from spreading downstream. This prevents nodes from producing unexpected dirty data that affects normal use and business decisions. You can go to the Manage Subscriptions page to add subscribers for a partition filter expression. When the monitoring rule described by the partition filter expression is triggered, the subscribers can receive notifications and troubleshoot errors in a timely manner. For more information, see Configure monitoring rules for MaxCompute.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteQualityFollower

The operation that you want to perform.

ProjectName String Yes autotest

The name of the compute engine or data source for which the partition filter expression is configured. You can log on to the DataWorks console and go to the Monitoring Rules page of Data Quality to obtain the name.

FollowerId Long Yes 1234

The ID of the subscription relationship between the partition filter expression and the subscriber. You can call the GetQualityFollower operation to obtain the ID of the subscription relationship.

RegionId String Yes cn-shanghai

The ID of the region in which the workspace that you want to manage resides. For example, the ID of the China (Shanghai) region is cn-shanghai, and that of the China (Zhangjiakou) region is cn-zhangjiakou. The system automatically determines the value of this parameter based on the endpoint that is used to call the operation.

Response parameters

Parameter Type Example Description
HttpStatusCode Integer 200

The HTTP status code returned.

Data Boolean true

Indicates whether the subscriber was successfully deleted. Valid values:

  • true: The subscriber was successfully deleted.
  • false: The subscriber failed to be deleted. You can troubleshoot errors based on the error message returned.
ErrorMessage String You have no permission.

The error message returned when the subscriber failed to be deleted.

RequestId String 6d739ef6-098a-47****

The ID of the request. You can use the ID to troubleshoot errors.

ErrorCode String 401

The error code returned.

Success Boolean true

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteQualityFollower
&ProjectName=autotest
&FollowerId=1234
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DeleteQualityFollowerResponse>
    <HttpStatusCode>200</HttpStatusCode>
    <Data>true</Data>
    <ErrorMessage>You have no permission.</ErrorMessage>
    <RequestId>6d739ef6-098a-47****</RequestId>
    <ErrorCode>401</ErrorCode>
    <Success>true</Success>
</DeleteQualityFollowerResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "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 API Error Center.