---
title: "Delete host port mapping for a container port"
method: DELETE
path: "/v1/ports/mappings/{port}"
tags: ["ports"]
---

# Delete host port mapping for a container port

`DELETE /v1/ports/mappings/{port}`

Removes a mapping and broadcasts an SSE event with host_port=0

## Path parameters

- `port` integer, required

## Response `200`

Mapping deleted

- object

## Other responses

- `400` — Invalid port

---

[API](https://skmtc.net/wandb/apis/catnip-container-api.md) · [All operations](https://skmtc.net/wandb/apis/catnip-container-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wandb/catnip-container-api/versions/a075b0fa501a/schema)
