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

# POST /v1/{+parent}/meshes

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

Creates a new Mesh in a given project and location.

## Path parameters

- `parent` string, required

## Query parameters

- `meshId` string

## Request body

- Mesh — Mesh represents a logical configuration grouping for workload to workload communication within a service mesh. Routes that point to mesh dictate how requests are routed within this logical mesh boundary.
  - `name` string — Identifier. Name of the Mesh resource. It matches pattern `projects/*/locations/*/meshes/`.
  - `selfLink` string — Output only. Server-defined URL of this resource
  - `createTime` string, google-datetime — Output only. The timestamp when the resource was created.
  - `updateTime` string, google-datetime — Output only. The timestamp when the resource was updated.
  - `labels` object — Optional. Set of label tags associated with the Mesh resource.
  - `description` string — Optional. A free-text description of the resource. Max length 1024 characters.
  - `interceptionPort` integer — Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy to listen on the specified port of localhost (127.0.0.1) address. The SIDECAR proxy will expect all traffic to be redirected to this port regardless of its actual ip:port destination. If unset, a port '15001' is used as the interception port. This is applicable only for sidecar proxy deployments.
  - `envoyHeaders` 'ENVOY_HEADERS_UNSPECIFIED' | 'NONE' | 'DEBUG_HEADERS' — Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers may still be injected. By default, envoy will not insert any debug headers.

## Response `200`

Successful response

---

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