Distrust a peering node
DELETE//v1/node/peers/trusted/:peer
Distrust a peering node
Request
Path Parameters
peer stringrequired
Name or PubKey (hex) of the trusted peer
Responses
- 200
- 401
- 404
Peer was successfully distrusted
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
Peer not found
Authorization: Authorization
name: Authorizationtype: apiKeydescription: JWT Tokenin: header
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X DELETE '/v1/node/peers/trusted/:peer' \
-H 'Authorization: <API_KEY_VALUE>'
ResponseClear