Home

Update peer id

PATCH
https://xtz.nownodes.io/network/peers/{peer_id}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Change the permissions of a given peer. With {acl: ban}: blacklist the given peer and remove it from the whitelist if present. With {acl: open}: removes the peer from the blacklist and whitelist. With {acl: trust}: trust the given peer permanently and remove it from the.

Body

application/json

Request payload.

aclstringopentrustban

Acl.

Parameters

peer_idstringrequiredpath

A cryptographic node identity (Base58Check-encoded)

Response

200OK

Successful response.

400Bad Request

Invalid request.

default

Error response.