Skip to main content
DELETE
/
api
/
v1
/
peers
/
allowlist
/
{peerId}
Remove peer
curl --request DELETE \
  --url http://localhost:3000/api/v1/peers/allowlist/{peerId} \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": null
}

Authorizations

Authorization
string
header
required

API key passed as a Bearer token. Configure via the apiKeys field in polpo.json or the POLPO_API_KEY environment variable.

Path Parameters

peerId
string
required

Response

Peer removed

ok
boolean
required
data
unknown