Distributed Message Service RocketMQ

Updating an Instance Name

2024-07-04 06:29:20

API Introduction

Used to update instance name.

API Restrictions

None.

URl

POST     https://[endpoint]/v2/instance/updateName

Request Parameters

Request Parameters

Required or Not

Position

Parameter Type

Description

prodInstId

Yes

body

String

Instance   ID

instanceName

Yes

body

String

New   instance name

Response Parameter

Response Parameter

Parameter Type

Description

statusCode

String

The   status code of the interface on the system layer. Success: 800; failure: 900.

message

String

Status   Description

returnObj

String

Return   the object. The parameters included in this parameter are described in the   comments in Response Examples.

Sample Request

POST https://[endpoint]/v2/instance/updateName

{

    "prodInstId":"mq_test",

    "instanceName":"70687660456281088"

}

Examples of a Successful Response

{

    "returnObj":{

      

    },

    "message":"success",

    "statusCode":800

}

Example of a Failed Response

{

    "returnObj": {},

    "message": "...",

    "statusCode": "900"

}


DpNVkrxZ4VFU