Releases a pay-as-you-go Message Queue for Apache Kafka instance.
This operation is not supported for subscription instances.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ReleaseInstance |
The operation that you want to perform. Set the value to ReleaseInstance. |
InstanceId | String | Yes | alikafka_post-cn-mp919o4v**** |
The ID of the instance that you want to release. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region where the instance is located. |
ForceDeleteInstance | Boolean | No | false |
Specifies whether to immediately release the physical resources of the instance. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | Integer | 200 |
The response code. The HTTP 200 code indicates that the request was successful. |
Message | String | operation success. |
The response message. |
RequestId | String | ABA4A7FD-E10F-45C7-9774-A5236015A*** |
The ID of the request. |
Success | Boolean | true |
Indicates whether the request was successful. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ReleaseInstance
&InstanceId=alikafka_post-cn-mp919o4v****
&RegionId=cn-hangzhou
&<Common request parameters>
Sample success responses
XML
format
<ReleaseInstanceResponse>
<Message>operation success. </Message>
<RequestId>ABA4A7FD-E10F-45C7-9774-A5236015A***</RequestId>
<Success>true</Success>
<Code>200</Code>
</ReleaseInstanceResponse>
JSON
format
{
"RequestId":"ABA4A7FD-E10F-45C7-9774-A5236015A***",
"Message":"operation success.",
"Code":"200",
"Success":"true"
}
Error codes
For a list of error codes, visit the API Error Center.