---
title: "Delete an Agent Pool"
method: DELETE
path: "/agent-pools/{agent_pool}"
tags: ["agent-pools"]
---

# Delete an Agent Pool

`DELETE /agent-pools/{agent_pool}`

This endpoint deletes an [agent pool](/docs/agent-pools) by ID.

## Path parameters

- `agent_pool` string, required

## Response `204`

Successfully deleted.

## Other responses

- `403` — User unauthorized to perform this action.
- `404` — Agent pool not found or user unauthorized.
- `409` — Can't be deleted. Has busy agents.
- `4XX` — Client error.
- `5XX` — Server error.

---

[API](https://skmtc.net/scalr/apis/scalr-iacp-api.md) · [All operations](https://skmtc.net/scalr/apis/scalr-iacp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalr/scalr-iacp-api/versions/fc927526ad12/schema)
