Releases a Tair (Redis OSS-compatible) instance.
Operation description
For the corresponding console operation, see Release an instance.
Before you call this operation, make sure that:
-
The instance is in the running state.
-
The instance is charged on a pay-as-you-go basis.
You cannot use this operation to release a subscription instance. Subscription instances are automatically released upon expiration. To release one early, submit a ticket.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DeleteInstance |
delete |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance that you want to release. |
r-bp1zxszhcgatnx**** |
| GlobalInstanceId |
string |
No |
The ID of the distributed instance to which this instance belongs. Applicable only to China site (aliyun.com). |
gr-bp14rkqrhac**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
5D622714-AEDD-4609-9167-F5DDD3D190D2 |
Examples
Success response
JSON format
{
"RequestId": "5D622714-AEDD-4609-9167-F5DDD3D190D2"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | InstanceReleaseProtection | The operation is not permitted due to instance release protection. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.