---
title: "PATCH /networks/{networkId}/nodes/{nodeId}"
method: PATCH
path: "/networks/{networkId}/nodes/{nodeId}"
---

# PATCH /networks/{networkId}/nodes/{nodeId}

`PATCH /networks/{networkId}/nodes/{nodeId}`

Updates a node configuration with new parameters.

Applies only to Hyperledger Fabric.

## Path parameters

- `networkId` string, required
- `nodeId` string, required

## Request body

- object
  - `MemberId` string — <p>The unique identifier of the member that owns the node.</p> <p>Applies only to Hyperledger Fabric.</p>
  - `LogPublishingConfiguration` object — Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
    - `Fabric` object — Configuration properties for logging events associated with a node that is owned by a member of a Managed Blockchain network using the Hyperledger Fabric framework.
      - `ChaincodeLogs` object — Configuration properties for logging events associated with chaincode execution on a peer node. Chaincode logs contain the results of instantiating, invoking, and querying the chaincode. A peer can run multiple instances of chaincode. When enabled, a log stream is created for all chaincodes, with an individual log stream for each chaincode.
        - `Cloudwatch` object — Parameters for publishing logs to Amazon CloudWatch Logs.
          - `Enabled` boolean — Indicates whether logging is enabled.
      - `PeerLogs` object — Configuration properties for a peer node log. Peer node logs contain messages generated when your client submits transaction proposals to peer nodes, requests to join channels, enrolls an admin peer, and lists the chaincode instances on a peer node.
        - `Cloudwatch` object — Parameters for publishing logs to Amazon CloudWatch Logs.
          - `Enabled` boolean — Indicates whether logging is enabled.

## Response `200`

Success

- UpdateNodeOutput

## Other responses

- `480` — InvalidRequestException
- `481` — AccessDeniedException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — InternalServiceErrorException

---

[API](https://skmtc.net/aws/apis/managedblockchain.md) · [All operations](https://skmtc.net/aws/apis/managedblockchain/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/managedblockchain/versions/43406c4e72b1/schema)
