CheckInstanceForDelete
Checks whether an instance can be deleted.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:CheckInstanceForDelete |
get |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| CheckInstanceResult |
object |
The returned result. |
|
| Deletable |
boolean |
Indicates whether the instance can be deleted. |
True |
| RestrictScenarios |
array<object> |
The restriction information that prevents deletion. |
|
|
object |
The restriction information that prevents deletion. |
||
| ResourceId |
string |
The resource ID. |
eas-r-nguosqgr75ndg784k8 |
| HelpfulConsoleUrl |
string |
The helpful console URL. |
https://console-rpa.aliyun.com/ |
| RestrictReason |
string |
The reason for the restriction. |
cloud_product_dependency |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"CheckInstanceResult": {
"Deletable": true,
"RestrictScenarios": [
{
"ResourceId": "eas-r-nguosqgr75ndg784k8",
"HelpfulConsoleUrl": "https://console-rpa.aliyun.com/",
"RestrictReason": "cloud_product_dependency"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.