Modifies the description of an Anti-DDoS Pro or Anti-DDoS Premium instance.

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 ModifyInstanceRemark

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

RegionId String No cn-hangzhou

The region ID of the instance. Valid values:

  • cn-hangzhou: mainland China, which indicates an Anti-DDoS Pro instance
  • ap-southeast-1: outside mainland China, which indicates an Anti-DDoS Premium instance
InstanceId String No ddoscoo-cn-mp91j1ao****

The ID of the instance.

Note You can call the DescribeInstanceIds operation to query the IDs of all instances.
Remark String No new-remark

The description that you want to use for the instance.

Response parameters

Parameter Type Example Description
RequestId String 7EFA2BA6-9C0A-4410-B735-FC337EB634A1

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ModifyInstanceRemark
&InstanceId=ddoscoo-cn-mp91j1ao****
&Remark=new-remark
&<Common request parameters>

Sample success responses

XML format

<ModifyInstanceRemarkResponse>
      <RequestId>7EFA2BA6-9C0A-4410-B735-FC337EB634A1</RequestId>
</ModifyInstanceRemarkResponse>

JSON format

{
    "RequestId": "7EFA2BA6-9C0A-4410-B735-FC337EB634A1"
}

Error codes

For a list of error codes, visit the API Error Center.