DeleteImageCache
Deletes an image cache.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
acc:DeleteImageCache |
delete |
*ImageCache
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| ImageCacheId |
string |
Yes |
The image cache ID. |
imc-bp1dj***** |
| Force |
boolean |
No |
Specifies whether to force delete the image cache. Default value: Valid values:
|
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
0E234675-3465-4CC3-9D0F-9A864BC***** |
Examples
Success response
JSON format
{
"RequestId": "0E234675-3465-4CC3-9D0F-9A864BC*****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | %s. | Invalid parameter |
| 400 | MissingParameter | %s. | Missing parameter |
| 403 | ImageCache.NotExist | The specified image cache does not exist. | The specified image cache does not exist |
| 403 | RegionNotSupport | The specified Region is not supported. | The specified Region is not supported |
| 403 | IncorrectStatus | %s. | Operation is forbidden, resource status is incorrect |
| 403 | IncorrectOperation | %s. | Operation is forbidden, this resource does not support this operation |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.