---
title: "POST /projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance"
method: POST
path: "/projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance"
tags: ["targetPools"]
---

# POST /projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance

`POST /projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance`

Adds an instance to a target pool.

## Path parameters

- `project` string, required
- `region` string, required
- `targetPool` string, required

## Query parameters

- `requestId` string

## Request body

- TargetPoolsAddInstanceRequest
  - `instances` InstanceReference[] — A full or partial URL to an instance to add to this target pool. This can be a full or partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
    - `instance` string — The URL for a specific instance. @required compute.instancegroups.addInstances/removeInstances

## Response `200`

Successful response

---

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