---
title: "Creates or Updates ZoneEgress entity"
method: PUT
path: "/v1/mesh/control-planes/{cpId}/api/zoneegresses/{name}"
tags: ["ZoneEgress"]
---

# Creates or Updates ZoneEgress entity

`PUT /v1/mesh/control-planes/{cpId}/api/zoneegresses/{name}`

## Path parameters

- `name` string, required

## Request body

- ZoneEgressItem
  - `creationTime` string, date-time — Time at which the resource was created
  - `kri` string — Kuma Resource Identifier (KRI) of the given resource
  - `labels` object
  - `modificationTime` string, date-time — Time at which the resource was updated
  - `name` string, required
  - `networking` object — Networking defines the address and port of the Egress to listen on.
    - `address` string — Address on which inbound listener will be exposed
    - `admin` object — Admin contains configuration related to Envoy Admin API
      - `port` integer — Port on which Envoy Admin API server will be listening
    - `port` integer — Port of the inbound interface that will forward requests to the service.
  - `type` string, required
  - `zone` string — Zone field contains Zone name where egress is serving, field will be automatically set by Global Kuma CP

## Response `200`

Successful response

- object
  - `warnings` string[] — warnings is a list of warning messages to return to the requesting Kuma API clients. Warning messages describe a problem the client making the API request should correct or be aware of.

## Other responses

- `201` — Successful response

---

[API](https://skmtc.net/kong/apis/konnect-api-beta.md) · [All operations](https://skmtc.net/kong/apis/konnect-api-beta/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kong/konnect-api-beta/revisions/658ffb748f95/schema)
