Skip to content

Delete autoscale pool

client.gpuDroplets.autoscale.delete(stringautoscalePoolID, RequestOptionsoptions?): void
delete/v2/droplets/autoscale/{autoscale_pool_id}

To destroy an autoscale pool, send a DELETE request to the /v2/droplets/autoscale/$AUTOSCALE_POOL_ID endpoint.

A successful response will include a 202 response code and no content.

ParametersExpand Collapse
autoscalePoolID: string
Delete autoscale pool
import Gradient from '@digitalocean/gradient';

const client = new Gradient({
  accessToken: 'My Access Token',
});

await client.gpuDroplets.autoscale.delete('0d3db13e-a604-4944-9827-7ec2642d32ac');
Returns Examples