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

# POST /v1/{+parent}/routes

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

Use this method to create a route for a private connectivity configuration in a project and location.

## Path parameters

- `parent` string, required

## Query parameters

- `requestId` string
- `routeId` string

## Request body

- Route — The route resource is the child of the private connection resource, used for defining a route for a private connection.
  - `labels` object — Labels.
  - `destinationPort` integer — Destination port for connection
  - `name` string — Output only. Identifier. The resource's name.
  - `destinationAddress` string — Required. Destination address for connection
  - `createTime` string, google-datetime — Output only. The create time of the resource.
  - `displayName` string — Required. Display name.
  - `updateTime` string, google-datetime — Output only. The update time of the resource.

## Response `200`

Successful response

---

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