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
ImageCacheId String Yes imc-2zebxkiifuyzzlhl199h

The ID of the image cache.

RegionId String Yes cn-hangzhou

The region ID of the image cache.

Action String No DeleteImageCache

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

ClientToken String No 123e4567-xxxx-12d3-xxxx-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 only contain 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 E76AF70F-8BDF-4403-B960-C4B02AFE73A8

The unique ID of the request.

Examples

Sample requests


http(s)://eci.aliyuncs.com/? Action=DeleteImageCache
&ImageCacheId=imc-2zebxkiifuyzzlhl199h
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<RequestId>E76AF70F-8BDF-4403-B960-C4B02AFE73A8</RequestId>

JSON format

{
	"RequestId":"E76AF70F-8BDF-4403-B960-C4B02AFE73A8"
}

Error codes