To check on the status of a request to destroy a Droplet with its associated
resources, send a GET request to the
/v2/droplets/$DROPLET_ID/destroy_with_associated_resources/status
endpoint.
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
droplet_id |
integer | True | A unique identifier for a Droplet instance. |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.droplets.get_destroy_associated_resources_status(droplet_id=5624512)
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.