Delete
Delete an Existing Droplet
client.gpuDroplets.delete(numberdropletID, RequestOptionsoptions?): void
/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.
Parameters
dropletID: number
Delete an Existing Droplet
import Gradient from '@digitalocean/gradient';
const client = new Gradient();
await client.gpuDroplets.delete(3164444);