调用 ModifyInstanceName 接口修改实例名称。
请求频率:该接口请求频率限制为 100 次/秒;单用户请求频率限制为 20 次/秒。
参数 | 参数类型 | 是否必选 | 示例值 | 说明 |
---|---|---|---|---|
InstanceId | String | 必选 | rbtmq-******* | 实例 ID。 |
InstanceName | String | 必选 | test-instance | RabbitMQ 实例名称。需满足以下要求:
|
null
POST https://rabbitmq.volcengineapi.com/?Action=ModifyInstanceName&Version=2018-01-01 HTTP/1.1 Accept: application/json Content-Type: application/json Host: rabbitmq.volcengineapi.com X-Date: 20210328T100802Z Authorization: HMAC-SHA256 Credential=AK********/20210328/cn-beijing/rabbitmq/request, SignedHeaders=x-date, Signature=******** { "InstanceId": "rbtmq-*******", "InstanceName": "test-instance" }
{ "ResponseMetadata": { "RequestId": "********", "Action": "ModifyInstanceName", "Version": "2018-01-01", "Service": "rabbitmq", "Region": "cn-beijing" }, "Result": null }