---
title: "Remove an existing peer"
method: DELETE
path: "/api/v1/admin/peers/{endpoint}"
tags: ["Admin", "Peer"]
---

# Remove an existing peer

`DELETE /api/v1/admin/peers/{endpoint}`

Remove an existing peer identified by the provided endpoint.
The peer is removed from the list of known peers. If a connection to it
is currently active, it will be closed.

## Response `204`

Peer removed

## Other responses

- `400` — Malformed endpoint
- `404` — Peer doesn't exist

---

[API](https://skmtc.net/threefoldtech/apis/mycelium-management.md) · [All operations](https://skmtc.net/threefoldtech/apis/mycelium-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/threefoldtech/mycelium-management/versions/65042c1a7b84/schema)
