DeleteQualityFollower

Updated at:

Deletes a subscriber of a partition expression. After the subscriber is deleted, the subscriber no longer receives notifications when a data quality monitoring rule is triggered.

Note

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

Operation description

Data Quality determines the monitoring rules to be configured based on partition expressions. These rules help you detect changes in source data and dirty data generated during extract, transform, and load (ETL) processes at the earliest opportunity, automatically intercept problematic tasks, and effectively prevent dirty data from spreading downstream. This prevents tasks from producing unexpected problematic data that affects normal usage and business decision-making. You can use subscription management to add subscribers to a partition expression. After a subscriber is added, the subscriber receives a notification when the monitoring rule of the partition expression is triggered, allowing you to discover and resolve issues promptly. For more information, see Configure monitoring rules.

Prerequisites: DataWorks is activated, the calling account is added to the target workspace, and the workspace is associated with a valid compute engine.

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 engine or data source where the partition expression resides. You can log on to the DataWorks console and go to the rule configuration page of Data Quality to obtain the name.

autotest

FollowerId

integer

Yes

The ID of the subscription relationship for the partition expression. You can call the GetQualityFollower operation to obtain the subscription relationship ID.

1234

ProjectId

integer

No

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

10000

Response elements

Element

Type

Description

Example

object

The response result.

HttpStatusCode

integer

The HTTP status code.

200

Data

boolean

Indicates whether the subscriber of the partition expression was successfully deleted. Valid values:

  • true: The subscriber was deleted.

  • false: The subscriber failed to be deleted. You can check the error message to identify the cause and resolve the issue.

true

ErrorMessage

string

The error message returned when the subscriber of the partition expression fails to be deleted.

You have no permission.

RequestId

string

The request ID, which is used for subsequent troubleshooting.

6d739ef6-098a-47****

ErrorCode

string

The error code.

401

Success

boolean

Indicates whether the call was successful. Valid values:

  • true: The call was successful.

  • false: The call failed.

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.