ReleaseExpiredPrepaidInstance
Releases expired and stopped subscription instances.
Operation description
Releases expired and stopped upfront instances. After an instance expires and is stopped, you can use this operation to release it in advance instead of waiting for the system's automatic release after the retention period. The release operation is irrevocable. Before you invoke this operation, confirm that the instance data and underlying resources are no longer needed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bss:ReleaseExpiredPrepaidInstance |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceIds |
string |
Yes |
The instance IDs. Separate multiple IDs with commas (,). You can specify up to 20 IDs. |
rm-1,rm-2 |
| ProductCode |
string |
Yes |
The product code. You can call the QueryProductList operation to query the product code. |
rds |
| ProductType |
string |
No |
The product type. |
rds |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
DF58589C-A06C-4224-8615-7797E6474FA3 |
| Message |
string |
The error message. |
Successful |
| Data |
object |
The returned data. |
|
| HostId |
string |
[Deprecated] The host ID. |
deprecated |
| InstanceResults |
array<object> |
The list of instance results. |
|
|
object |
The result details. |
||
| Success |
boolean |
Indicates whether the operation is successful. |
True |
| InstanceId |
string |
The instance ID. |
rm-1 |
| ReleaseResult |
boolean |
Indicates whether the release operation is successful. |
true |
| Class |
string |
[Deprecated] The host ID. |
deprecated |
| Code |
string |
The error code returned when the call fails. For more information, see error codes. |
Success |
| Success |
boolean |
Indicates whether the operation is successful. |
true |
Examples
Success response
JSON format
{
"RequestId": "DF58589C-A06C-4224-8615-7797E6474FA3",
"Message": "Successful",
"Data": {
"HostId": "deprecated",
"InstanceResults": [
{
"Success": true,
"InstanceId": "rm-1"
}
],
"ReleaseResult": true
},
"Class": "deprecated",
"Code": "Success",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.