Deletes a storage gateway.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DeleteStorageGateway |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GatewayId |
string |
Yes |
The ID of the gateway. |
sgw-**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
853D6E71-E087-1557-B65C-32BFBEE5CD97 |
Examples
Success response
JSON format
{
"RequestId": "853D6E71-E087-1557-B65C-32BFBEE5CD97"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectInstanceStatus | The current status of the resource does not support this operation | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 400 | VolumeBind | Storage volumes bound to the instance. | Storage volumes bound to the instance |
| 400 | InstanceIdNotFound | No instance ID found. Enter a valid instance ID. | No instance ID found. Enter a valid instance ID. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.