---
title: "Delete peer"
method: DELETE
path: "/room/{room_id}/peer/{id}"
tags: ["room"]
---

# Delete peer

`DELETE /room/{room_id}/peer/{id}`

## Path parameters

- `room_id` string, required
- `id` string, required

## Response `204`

Peer successfully deleted

## Other responses

- `401` — Unauthorized
- `404` — Room ID or Peer ID references a resource that doesn't exist

## Changes

- **2024-02-22** `4f1bea96a0f9` — 1 info
  - the endpoint scheme security `authorization` was added to the API
- **2023-09-08** `d9f3c98af29b` — 3 info
  - api operation id `JellyfishWeb.PeerController.delete` removed and replaced with `delete_peer`
  - api tag `room` added
  - api tag `peer` removed
- **2023-07-18** `dafa9a249254` — 6 info
  - api operation id `delete_peer` removed and replaced with `JellyfishWeb.PeerController.delete`
  - the endpoint scheme security `authorization` was removed from the API
  - api tag `peer` added
  - api tag `room` removed
  - …2 more

[Change history](https://skmtc.dev/fishjam-dev/apis/fishjam-media-server/changes/room/:room_id/peer/:id/delete.md)

---

[API](https://skmtc.dev/fishjam-dev/apis/fishjam-media-server.md) · [All operations](https://skmtc.dev/fishjam-dev/apis/fishjam-media-server/llms.txt) · [OpenAPI document](https://skmtc.dev/fishjam-dev/apis/fishjam-media-server/revisions/c9ea5a438831?raw)
