Method description
Deletes a specified image.
Parameter description
Parameter | Type | Description |
---|---|---|
imageId | String | ID of an image |
Response description
If the call succeeds, a DeleteImageResponse instance is returned.
If the call fails, a ClientException is thrown.
Sample code
try{
DeleteImageResponse response = client.deleteImage("img-0101010299123");
//The method is successfully called.
}catch(ClientException e){
e.printStackTrace();
//The method fails to be called.
}