Modifies the remarks of a topic.


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 ModifyTopicRemark

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


InstanceId String Yes alikafka_post-cn-0pp1l9z8***

The ID of the Message Queue for Apache Kafka instance.

RegionId String Yes cn-hangzhou

The ID of the region where the Message Queue for Apache Kafka instance is located.

Topic String Yes alikafka_post-cn-0pp1l9z8z***

The name of the topic.

Remark String No testremark

The remarks of the topic.

Response parameters

Parameter Type Example Description
Code Integer 200

The returned HTTP status code. A 200 status code indicates that the request succeeded.

Message String operation success

The returned message.

RequestId String DB6F1BEA-903B-4FD8-8809-46E7E9CE***

The ID of the request.

Success Boolean true

Indicates whether the request was successful.


Sample request

http(s)://[Endpoint]/? Action=ModifyTopicRemark
&<Common request parameters>

Sample success responses

XML format

      <Message>operation success</Message>

JSON format

    "ModifyTopicRemarkResponse": {
        "RequestId": "DB6F1BEA-903B-4FD8-8809-46E7E9CE***",
        "Message": "operation success",
        "Code": 200,
        "Success": true

Error codes

HttpCode Error code Error message Description
500 InternalError An internal error occurred; please try again later. The error message returned because an internal error has occurred. Try again later.

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