All Products
Search
Document Center

DataWorks:UpdateQualityFollower

Last Updated:Oct 17, 2024

Updates a subscription relationship.

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
FollowerIdlongYes

The ID of the subscription relationship.

1234
FollowerstringYes

The name of the subscriber.

1912232****
AlarmModeintegerYes

The notification method. Valid values: 1, 2, 4, 5, 6, 7, 8, and 9. The value 1 indicates that the notification is sent by email. The value 2 indicates that the notification is sent by email and text message. The value 4 indicates that the notification is sent by a DingTalk chatbot. The value 5 indicates that the notification is sent by a DingTalk chatbot to all members in a DingTalk group. The value 6 indicates that the notification is sent by Lark. The value 7 indicates that the notification is sent by WeCom. The value 8 indicates that the notification is sent by webhook. The value 9 indicates that the notification is sent by phone call.

2
ProjectIdlongYes

The DataWorks workspace ID. You can log on to the DataWorks console to obtain the workspace ID.

123

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

HttpStatusCodeinteger

The HTTP status code.

200
Databoolean

Indicates whether the update is successful.

true
ErrorMessagestring

The error message.

You have no permission
RequestIdstring

The request ID.

576b9457-2cf5-4****
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": "576b9457-2cf5-4****",
  "ErrorCode": "401",
  "Success": true
}

Error codes

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

Change history

Change timeSummary of changesOperation
2023-11-15The 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