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

# Update an Agent Pool

`PATCH /agent-pools/{agent_pool}`

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

## Path parameters

- `agent_pool` string, required

## Query parameters

- `include` string[]

## Response `200`

Successfully updated.

## Other responses

- `403` — User unauthorized to perform this action.
- `404` — User not authorized or agent pool not found.
- `409` — Quota exceeded error.
- `422` — Malformed request body (missing attributes, wrong types, etc.).
- `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)
