Skip to content
  • Auto
  • Light
  • Dark

Delete

Delete an Existing Droplet
gpu_droplets.delete(intdroplet_id)
delete/v2/droplets/{droplet_id}

To delete a Droplet, send a DELETE request to /v2/droplets/$DROPLET_ID.

A successful request will receive a 204 status code with no body in response. This indicates that the request was processed successfully.

ParametersExpand Collapse
droplet_id: int
minimum1
Delete an Existing Droplet
from gradient import Gradient

client = Gradient(
    access_token="My Access Token",
)
client.gpu_droplets.delete(
    3164444,
)
Returns Examples