:doc:`ManagedBlockchain <../../managedblockchain>` / Client / delete_node

***********
delete_node
***********



.. py:method:: ManagedBlockchain.Client.delete_node(**kwargs)

  

  Deletes a node that your Amazon Web Services account owns. All data on the node is lost and cannot be recovered.

   

  Applies to Hyperledger Fabric and Ethereum.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteNode>`_  


  **Request Syntax**
  ::

    response = client.delete_node(
        NetworkId='string',
        MemberId='string',
        NodeId='string'
    )
    
  :type NetworkId: string
  :param NetworkId: **[REQUIRED]** 

    The unique identifier of the network that the node is on.

     

    Ethereum public networks have the following ``NetworkId``s:

     

    
    * ``n-ethereum-mainnet``
    

    

  
  :type MemberId: string
  :param MemberId: 

    The unique identifier of the member that owns this node.

     

    Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.

    

  
  :type NodeId: string
  :param NodeId: **[REQUIRED]** 

    The unique identifier of the node.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`ManagedBlockchain.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`ManagedBlockchain.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`ManagedBlockchain.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ManagedBlockchain.Client.exceptions.ResourceNotReadyException`

  
  *   :py:class:`ManagedBlockchain.Client.exceptions.ThrottlingException`

  
  *   :py:class:`ManagedBlockchain.Client.exceptions.InternalServiceErrorException`

  