All Products
Search
Document Center

delete_image

Last Updated: May 14, 2018

Parameter description

Parameter Type Description
image CreateResponse object, str, dict Image ID

Response description

The delete_job method returns an ActionResponse object. ActionResponse provides only two attributes: request ID and status code.

Example

  1. try:
  2. # Get a Client object.
  3. client = Client(...
  4. ...
  5. # Image ID.
  6. image = "img-xxxx"
  7. client.delete_image(image)
  8. except ClientError, e:
  9. print(e)