Updates a subscription relationship.


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 UpdateQualityFollower

The operation that you want to perform. Set the value to UpdateQualityFollower.

ProjectName String Yes autotest

The name of the computing engine instance or data source.

FollowerId Long Yes 1234

The ID of the subscription relationship.

Follower String Yes 1912232****

The name of the subscriber.

AlarmMode Integer Yes 2

The notification method. Valid values: 1, 2, 4, and 5. 1 indicates that the notification is sent by email. 2 indicates that the notification is sent by email and text message. 4 indicates that the notification is sent by a DingTalk chatbot. 5 indicates that the notification is sent by a DingTalk chatbot to all members in a DingTalk group.

RegionId String Yes cn-shanghai

The region ID of the workspace. For example, the ID of the China (Shanghai) region is cn-shanghai, and the ID of the China (Zhangjiakou) region is cn-zhangjiakou. The system 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 subscription relationship is updated.

ErrorMessage String You have no permission

The error message returned.

RequestId String 576b9457-2cf5-4****

The ID of the request.

ErrorCode String 401

The error code returned.

Success Boolean true

Indicates whether the request is successful.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK

    <ErrorMessage>You have no permission</ErrorMessage>

JSON format

HTTP/1.1 200 OK

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