Update Peer Node Configuration

patch

/console/admin/api/v2/nodes/peers/{peerId}

Use this endpoint to modify the configuration attributes of a peer.

Request

Supported Media Types
Path Parameters
Body ()
Updated peer attributes
Root Schema : peerPatchAttributes
Type: object
Show Source
Nested Schema : chaincode
Type: object
Show Source
Nested Schema : eventService
Type: object
Show Source
Nested Schema : gossip
Type: object
Show Source
Nested Schema : gossipElection
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Action result object
Body ()
Root Schema : peerPatchActionResult
Type: object
Show Source

400 Response

Invalid arguments
Body ()
Root Schema : 400errorModels
Type: object
Show Source
Example:
{
    "respMesg":"invalid argument"
}

401 Response

Unauthorized

403 Response

Forbidden

404 Response

Not found

500 Response

Internal server error
Body ()
Root Schema : 500errorModels
Type: object
Show Source

Default Response

Unexpected error
Body ()
Root Schema : errorModel
Type: object
Show Source
Back to Top