---
title: "Update Application Endpoint"
method: PUT
path: "/apps/{appId}/endpoints/{endpointId}"
tags: ["Endpoints"]
---

# Update Application Endpoint

`PUT /apps/{appId}/endpoints/{endpointId}`

Update an existing endpoint for given application

## Path parameters

- `appId` string, required
- `endpointId` string, required

## Request body

- EndpointRequest
  - `displayName` string, required
  - `cdn` CdnEndpointRequest
    - `isSslEnabled` boolean
    - `stickySessions` StickySessionSettings
      - `enabled` boolean
      - `sessionHeaders` string[], required
      - `cookieName` string
    - `pullZoneId` integer, nullable
    - `portMappings` ContainerPortMappingRequest[]
      - `containerPort` integer, required
      - `exposedPort` integer, nullable
      - `protocols` Protocol[]
  - `anycast` AnycastEndpointRequest
    - `type` 'iPv4', required
    - `portMappings` ContainerPortMappingRequest[], required
      - `containerPort` integer, required
      - `exposedPort` integer, nullable
      - `protocols` Protocol[]

## Response `200`

Endpoint was successfully updated.

## Other responses

- `400` — Invalid input.
- `401` — User is unauthorized.
- `403` — User has invalid card or suspended.
- `404` — Application, container, or endpoint not found.
- `422` — Unprocessable entity.
- `500` — Unexpected server error.

---

[API](https://skmtc.net/bunny/apis/bunny-net-cdn-logging.md) · [All operations](https://skmtc.net/bunny/apis/bunny-net-cdn-logging/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bunny/bunny-net-cdn-logging/revisions/9e622620664b/schema)
