---
title: "PUT /api/v2/prebuilds/pools/{poolId}/instances"
method: PUT
path: "/api/v2/prebuilds/pools/{poolId}/instances"
tags: ["Prebuilds"]
---

# PUT /api/v2/prebuilds/pools/{poolId}/instances

`PUT /api/v2/prebuilds/pools/{poolId}/instances`

## Path parameters

- `poolId` string, required

## Request body

- CreateEnvironmentPoolResourceBody
  - `secrets` SecretDataBody[], nullable
    - `type` integer
    - `name` string, nullable
    - `value` string, nullable
  - `environmentOptions` PrebuildEnvironmentOptions
    - `correlationId` string, nullable

## Response `201`

Created

## Other responses

- `401` — Unauthorized
- `404` — Not Found

---

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