---
title: "POST /v1/{+parent}/targetProjects"
method: POST
path: "/v1/{+parent}/targetProjects"
tags: ["projects"]
---

# POST /v1/{+parent}/targetProjects

`POST /v1/{+parent}/targetProjects`

Creates a new TargetProject in a given project. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`.

## Path parameters

- `parent` string, required

## Query parameters

- `requestId` string
- `targetProjectId` string

## Request body

- TargetProject — TargetProject message represents a target Compute Engine project for a migration or a clone.
  - `updateTime` string, google-datetime — Output only. The last time the target project resource was updated.
  - `name` string — Output only. The name of the target project.
  - `description` string — The target project's description.
  - `createTime` string, google-datetime — Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created).
  - `project` string — Required. The target project ID (number) or project name.

## Response `200`

Successful response

---

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