Skip to content

Destroy With Associated Resources

List Associated Resources for a Droplet
client.GPUDroplets.DestroyWithAssociatedResources.List(ctx, dropletID) (*GPUDropletDestroyWithAssociatedResourceListResponse, error)
get/v2/droplets/{droplet_id}/destroy_with_associated_resources
Selectively Destroy a Droplet and its Associated Resources
client.GPUDroplets.DestroyWithAssociatedResources.DeleteSelective(ctx, dropletID, body) error
delete/v2/droplets/{droplet_id}/destroy_with_associated_resources/selective
Destroy a Droplet and All of its Associated Resources (Dangerous)
client.GPUDroplets.DestroyWithAssociatedResources.DeleteDangerous(ctx, dropletID, body) error
delete/v2/droplets/{droplet_id}/destroy_with_associated_resources/dangerous
Check Status of a Droplet Destroy with Associated Resources Request
client.GPUDroplets.DestroyWithAssociatedResources.CheckStatus(ctx, dropletID) (*GPUDropletDestroyWithAssociatedResourceCheckStatusResponse, error)
get/v2/droplets/{droplet_id}/destroy_with_associated_resources/status
Retry a Droplet Destroy with Associated Resources Request
client.GPUDroplets.DestroyWithAssociatedResources.Retry(ctx, dropletID) error
post/v2/droplets/{droplet_id}/destroy_with_associated_resources/retry
ModelsExpand Collapse
type AssociatedResource struct{…}

An objects containing information about a resource associated with a Droplet.

ID stringoptional

The unique identifier for the resource associated with the Droplet.

Cost stringoptional

The cost of the resource in USD per month if the resource is retained after the Droplet is destroyed.

Name stringoptional

The name of the resource associated with the Droplet.

type DestroyedAssociatedResource struct{…}

An object containing information about a resource scheduled for deletion.

ID stringoptional

The unique identifier for the resource scheduled for deletion.

DestroyedAt Timeoptional

A time value given in ISO8601 combined date and time format indicating when the resource was destroyed if the request was successful.

formatdate-time
ErrorMessage stringoptional

A string indicating that the resource was not successfully destroyed and providing additional information.

Name stringoptional

The name of the resource scheduled for deletion.