Releases a Lindorm instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
lindorm:ReleaseLindormInstance |
delete |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. You can call the GetLindormInstanceList operation to obtain the instance ID. |
ld-bp1z3506imz2f**** |
| Immediately |
boolean |
No |
Specifies whether to release the instance immediately. If set to true, the instance and its data are deleted immediately. If set to false (the default), the instance is retained for seven days before being permanently deleted. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
F67BFFF3-F5C2-45B5-9C28-6E4A1E51**** |
Examples
Success response
JSON format
{
"RequestId": "F67BFFF3-F5C2-45B5-9C28-6E4A1E51****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ChargeType.IsNotValid | The charge type is invalid. | The specified charge type is invalid. |
| 400 | Instance.IsNotPostPay | The instance billing type is not pay as you go. | |
| 400 | Instance.DeleteProtection | Instance deletion is protected. Please disable delete protection before deleting the instance. | If the instance has deletion protection enabled, disable deletion protection before deleting the instance. |
| 403 | API.Forbidden | The API operation is forbidden in this environment. | This operation is not supported in the current environment. |
| 403 | Lindorm.Errorcode.OperationDenied | You are not authorized to operate on the specified resource. | You are not authorized to manage the specified resource. |
| 403 | Lindorm.Errorcode.ServiceLinkedRoleNoPermission | No permission to create service linked role. | You are not authorized to create the service-linked role. |
| 404 | Lindorm.Errorcode.InstanceNotFound | The instance is not found. | The specified instance does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.