Deletes an image cache.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteImageCache

The operation that you want to perform. Set the value to DeleteImageCache.

RegionId String Yes cn-hangzhou

The region ID of the image cache.

ImageCacheId String Yes imc-2zebxkiifuyzzlhl****

The ID of the image cache.

ClientToken String No 123e4567-e89b-12d3-a456-426655440000

The client token that is used to guarantee the idempotence of the request. You can use the client to generate the value, but you must make sure that the value is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.

Response parameters

Parameter Type Example Description
RequestId String 89945DD3-9072-47D0-A218-354284CFC7A2

The ID of the request.

Examples

Sample requests

https://eci.aliyuncs.com/?Action=DeleteImageCache
&RegionId=cn-hangzhou
&ImageCacheId=imc-2zebxkiifuyzzlhl****
&<Common request parameters>

Sample success responses

XML format

<DeleteImageCacheResponse>
      <RequestId>89945DD3-9072-47D0-A218-354284CFC7A2</RequestId>
</DeleteImageCacheResponse>

JSON format

{
	"RequestId": "89945DD3-9072-47D0-A218-354284CFC7A2"
}

Error codes

For a list of error codes, visit the API Error Center.