---
title: "Delete autoscaling groups"
method: DELETE
path: "/v1/kubernetes/{kubernetesId}/groups"
tags: ["Kubernetes clusters"]
---

# Delete autoscaling groups

`DELETE /v1/kubernetes/{kubernetesId}/groups`

## Request

- Base URL: `https://api.emma.ms/external`
- URL: `https://api.emma.ms/external/v1/kubernetes/{kubernetesId}/groups`
- Auth: HTTP bearer

Removes one or more autoscaling groups from a Managed Kubernetes cluster. The operation is asynchronous: the method returns 204; the groups' worker nodes are drained and deleted first, the groups themselves are removed once their nodes are physically gone.

## Path parameters

- `kubernetesId` integer, required

## Query parameters

- `groupName` string[], required

## Response `204`

Request accepted; the groups are being deleted

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `422`: Unprocessable entity
- `500`: Internal server error

---

[API](https://skmtc.dev/emma/apis/public-emma-api.md) - [All operations](https://skmtc.dev/emma/apis/public-emma-api/llms.txt) - [OpenAPI document](https://skmtc.dev/emma/apis/public-emma-api/revisions/9e55f0920078?raw)
