---
title: "Delete a group (the label only)"
method: DELETE
path: "/api/v1/agent_groups/{id}"
tags: ["Fleet"]
---

# Delete a group (the label only)

`DELETE /api/v1/agent_groups/{id}`

## Request

- Base URL: `https://saltapp.ai`
- URL: `https://saltapp.ai/api/v1/agent_groups/{id}`
- Auth: API key in header `api-key`

Removes the label and its memberships; no agent and no room chat is touched. Callable by a delegate under an `agent.groups` mandate (X-Salt-Act-For), who acts on the GRANTOR's groups.

## Path parameters

- `id` string, required

## Response `204`

Deleted.

## Other responses

- `401`: Missing or invalid credentials.
- `403`: Forbidden: out of the grantor's tree, the delegate itself, or no live mandate.
- `404`: Group not found.

---

[API](https://skmtc.dev/saltapp/apis/salt-agent-api.md) · [All operations](https://skmtc.dev/saltapp/apis/salt-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/saltapp/apis/salt-agent-api/revisions/a8b8642ab7f8?raw)
