---
title: "Modifies an existing worker pool."
method: PUT
path: "/spaces/{spaceIdentifier}/workerpools/{id}"
tags: ["WorkerPools"]
---

# Modifies an existing worker pool.

`PUT /spaces/{spaceIdentifier}/workerpools/{id}`

Updates an existing worker pool.

## Path parameters

- `spaceIdentifier` string, required
- `id` string, required

## Request body

- ModifyWorkerPoolCommand
  - `Description` string
  - `Id` string, required
  - `IsDefault` boolean, required
  - `Name` string, required
  - `Slug` string
  - `SpaceId` string, required
  - `WorkerType` string

## Response `200`

Confirms that a Worker Pool was modified, containing the updated Worker Pool

- WorkerPoolResource
  - `CanAddWorkers` boolean
  - `Description` string
  - `Id` string
  - `IsDefault` boolean
  - `LastModifiedBy` string
  - `LastModifiedOn` string, date-time
  - `Links` object
  - `Name` string
  - `Slug` string
  - `SortOrder` integer
  - `SpaceId` string
  - `WorkerPoolType` 'StaticWorkerPool' | 'DynamicWorkerPool'

## Other responses

- `400` — Bad request. Either the payload was not structurally valid or business rules did not permit the operation.
- `404` — Not found. One or more of the entities involved in the operation was not found.

---

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