---
title: "Reset reputation metrics for a peer or all peers (requires authentication)."
method: POST
path: "/api/p2p/reset-reputation"
tags: ["peers"]
---

# Reset reputation metrics for a peer or all peers (requires authentication).

`POST /api/p2p/reset-reputation`

## Request body

- ResetReputationRequest
  - `peer_id` string

## Response `200`

Reputation reset result

- ResetReputationResponse
  - `ok` boolean
  - `peers_reset` integer

## Other responses

- `400` — Error response
- `401` — Unauthorized
- `500` — Error response
- `503` — Error response

---

[API](https://skmtc.net/bsv-blockchain/apis/teranode-asset-service-api.md) · [All operations](https://skmtc.net/bsv-blockchain/apis/teranode-asset-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bsv-blockchain/teranode-asset-service-api/versions/5bc9be41e029/schema)
