dots.v2.droplets.byDroplet_id().destroy_with_associated_resources.retry.post()

Generated on 5 Nov 2026 from DoTs version v1.23.0

Usage

client.v2.droplets.byDroplet_id(droplet_id).destroy_with_associated_resources.retry.post(requestConfiguration?: RequestConfiguration<object>): Promise<void>

Description

If the status of a request to destroy a Droplet with its associated resources reported any errors, it can be retried by sending a POST request to the /v2/droplets/{droplet_id}/destroy_with_associated_resources/retry endpoint.

Only one destroy can be active at a time per Droplet. If a retry is issued while another destroy is in progress for the Droplet a 409 status code will be returned. A successful response will include a 202 response code and no content.

Parameters

droplet_id integer required

Example: 3164444

A unique identifier for a Droplet instance.

Min: 1

Request Sample

Show Request Sample
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
    createDigitalOceanClient,
    DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";

const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);

await client.v2.droplets
    .byDroplet_id(3164444).destroy_with_associated_resources.retry.post();

More Information

See /v2/droplets/{droplet_id}/destroy_with_associated_resources/retry 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.