# Update runner pool

`PATCH /v1/organizations/{organization}/runnerPools/{pool}`, operation `environments.UpdateRunnerPool`

Renames a runner pool, or changes the projects an organization's is shared with.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `organization` | path | Yes | `string` | The organization's ID. |
| `pool` | path | Yes | `string` | The runner pool's ID. |

## Request body

Content-Type: `application/json` (required)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `availability` | `Availability` | No | Projects that can run environments in an organization runner pool. Requires environments.runnerPools.setAvailability. Running environments continue until stopped, then can no longer start in this pool. |
| `availability.allProjects` | `boolean` | Yes | Every project, including those created later. |
| `availability.projects` | `string[]` | Yes | Specific projects (projects/{project_id}) when allProjects is false; up to 500. Set allProjects to true for more. |
| `displayName` | `string` | No | Name shown in user interfaces. |

## Responses

### 200

OK

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `arch` | `string` | No | Architecture of the pool's registered runners, such as amd64 or arm64. Omitted until a runner registers. |
| `availability` | `Availability` | No | Projects that can run environments in an organization runner pool; absent for a project-scoped pool. Changing sharing requires environments.runnerPools.setAvailability. |
| `availability.allProjects` | `boolean` | Yes | Every project, including those created later. |
| `availability.projects` | `string[]` | Yes | Specific projects (projects/{project_id}) when allProjects is false; up to 500. Set allProjects to true for more. |
| `createTime` | `string (date-time)` | Yes |  |
| `displayName` | `string` | Yes | Name shown in user interfaces. |
| `name` | `string` | Yes | Resource name, organizations/{organization_id}/runnerPools/{pool_id}, or projects/{project_id}/runnerPools/{pool_id} for a project's own. |
| `updateTime` | `string (date-time)` | Yes |  |

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.