This page describes how to delete a Blockchain Node Engine node using the
[console](https://docs.cloud.google.com/blockchain-node-engine/docs/delete-node#using-the-console) or an [API](https://docs.cloud.google.com/blockchain-node-engine/docs/delete-node#using-an-api) call.

> [!NOTE]
> **Note:** While the blockchain node is being deleted, the response to the [ListBlockchainNode](https://docs.cloud.google.com/blockchain-node-engine/docs/reference/rest/v1/projects.locations.blockchainNodes/list) command continues to display the node, but shows its state as **DELETING**.

## Using the console

To delete a node using the console:

1. In the Google Cloud console, go to the **Blockchain Node Engine** page.


   [Go to Blockchain Node Engine](https://console.cloud.google.com/blockchain-node-engine)
2. The **Nodes** list page is displayed by default.
3. [![Blockchain Node Engine Nodes list user interface](https://docs.cloud.google.com/static/blockchain-node-engine/images/nodes-list.png)](https://docs.cloud.google.com/static/blockchain-node-engine/images/nodes-list.png)
4. Click
   **More** \>
   **Delete** next to the
   intended node.

5. Type the node name in the confirmation dialog and then click
   **Delete node**.

## Using an API

To delete a blockchain node using
[DeleteBlockchainNode](https://docs.cloud.google.com/blockchain-node-engine/docs/reference/rest/v1/projects.locations.blockchainNodes/delete),
send the following request:

    curl -X DELETE \
      -H "Authorization: Bearer $(gcloud auth print-access-token)" \
      -H "Content-Type: application/json" \
    https://blockchainnodeengine.googleapis.com/v1/projects/PROJECT_ID/\
    locations/LOCATION/blockchainNodes/NODE_NAME

Where:

- <var translate="no">PROJECT_ID</var> is your Google Cloud project ID. For example, `my-project-id`.
- <var translate="no">LOCATION</var> is the [location](https://docs.cloud.google.com/blockchain-node-engine/docs/terms#location) in which your resources are hosted. For example, `us-central1`.
- <var translate="no">NODE_NAME</var> is the name of the node you created in [Create a blockchain node](https://docs.cloud.google.com/blockchain-node-engine/docs/create-node). For example, `my-node`.

Here is a sample response to the above command:

    {
      "name": "projects/my-project-id/locations/us-central1/operations/
        operation-1669730507366-5ee9c6dc31fc4-ab3b364d-76c83243",
      "metadata": {
        "@type": "type.googleapis.com/google.cloud.blockchainnodeengine.v1.
          OperationMetadata",
        "createTime": "2022-11-29T14:01:47.448829624Z",
        "target": "projects/my-project-id/locations/us-central1/blockchainNodes/
          my-node",
        "verb": "delete",
        "requestedCancellation": false,
        "apiVersion": "v1"
      },
      "done": false
    }