Trust a peering node
POST/v1/node/peers/trusted
Trust a peering node
Request
- application/json
Body
required
Info of the peer to trust
name stringrequired
peeringURL stringrequired
The peering URL of the peer
publicKey stringrequired
The peers public key encoded in Hex
Responses
- 200
- 401
Peer was successfully trusted
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
Loading...