pydo.images.delete()

Generated on 8 May 2026 from pydo version v0.34.0

Usage

client.images.delete(image_id=62137902)
Returns NoneRaises HttpResponseError

Description

To delete a snapshot or custom image, send a DELETE request to /v2/images/{image_id}.

Parameters

image_id integer required

A unique number that can be used to identify and reference a specific image.

Request Sample

Show Request Sample
import os
from pydo import Client

client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))

resp = client.images.delete(image_id=134215)

More Information

See /v2/images/{image_id} in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.