---
title: Voltage API
slug: voltage-api
docTags: 
createdAt: 2024-02-15T17:04:20.263Z
---

Voltage has an API that you can use to manage your nodes. With this API you can create, stop, start, update your node. All the functionality that you see in our dashboard can be accomplished with the Voltage API. With our API, you can greatly extend the capabilities for the Voltage platform. For example, you can create nodes for your users directly in your own sites.

# Base URL

### https\://api.voltage.cloud



:::hint{type="info"}
Currently you must use HTTP 1.1 with this API. It does not suport HTTP 2.0
:::

# Authentication

To generate an API Key, navigate to your Team's home page. The menu on the left side will have an 'API' section. Expand that and click 'Keys'. Click the 'New Key' button and generate a new API Key. Give it a name and be sure to save the key as it will not be displayed again.

Once you have an API Key, you can use it in your API Requests with the `X-VOLTAGE-AUTH` header. All API Endpoints require authentication.

# Endpoints

:::ApiMethodV2
```json
{
  "name": "Get List of Nodes",
  "method": "GET",
  "url": "https://api.voltage.cloud/organizations/:organization_id/nodes",
  "description": "Get a list of nodes owned by an organization.",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "vGjdJ9o9Mn20jJOPluywk",
        "language": "curl",
        "code": "curl --location --globoff 'https://api.voltage.cloud/organizations/{organization_id}/nodes' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'X-VOLTAGE-AUTH: {voltage_api_key}'",
        "customLabel": ""
      },
      {
        "id": "lVKpIr208F7so_OtkJvW-",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'GET',\n   'url': 'https://api.voltage.cloud/organizations/{organization_id}/nodes',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json',\n      'X-VOLTAGE-AUTH': 'voltage_api_key'\n   }\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "7cNiQaGhqQDPE5tTlCeZ6",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\nmyHeaders.append(\"X-VOLTAGE-AUTH\", \"voltage_api_key\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.voltage.cloud/organizations/{organization_id}/nodes\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "0lM1DqFCKOBJXyuFTWUZs",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.voltage.cloud/organizations/{organization_id}/nodes\"\n\npayload = {}\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json',\n   'X-VOLTAGE-AUTH': 'voltage_api_key'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "8gF5l4JyvKhRjoI_38UI6",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.voltage.cloud/organizations/{organization_id}/nodes\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest[\"X-VOLTAGE-AUTH\"] = \"voltage_api_key\"\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "8gF5l4JyvKhRjoI_38UI6"
  },
  "results": {
    "languages": [
      {
        "id": "VNUwt0wpV5IeHHfk5K2C5",
        "language": "200",
        "customLabel": "",
        "code": "{\n   \"nodes\": [\n     {\n       \"node_name\": \"myvoltagenode\",\n       \"status\": \"running\",\n       \"node_id\": \"555c5108-7438-488d-b227-5f80baf8a23aN\",\n       \"expires\": \"never\",\n       \"created\": \"2024-01-08T00:49:55Z\",\n       \"type\": \"standard\",\n       \"purchased_type\": \"paid\",\n       \"purchase_status\": \"active\",\n       \"api_endpoint\": \"myvoltagenode.m.voltageapp.io\",\n       \"network\": \"mainnet\",\n       \"lnd_version\": \"0.17.4-beta\",\n       \"volt_version\": \"v0.5.0\",\n       \"update_available\": false\n     },\n     ...\n   ]\n}"
      },
      {
        "id": "kbY2IDo1Nx9D_9ROcV07i",
        "language": "404",
        "customLabel": "",
        "code": "{\n  \"message\": \"not found\"\n}"
      }
    ],
    "selectedLanguageId": "VNUwt0wpV5IeHHfk5K2C5"
  },
  "request": {
    "pathParameters": [
      {
        "name": "organization_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the organization that you want to list nodes for. ",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-VOLTAGE-AUTH",
        "kind": "required",
        "type": "string",
        "description": "Your Voltage API Key that can be created on your Voltage Dashboard. ",
        "children": []
      }
    ],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "get-list-of-nodes",
  "legacyHash": "n2Hp38sHuPyDz1zufquuy"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Get a Node",
  "method": "GET",
  "url": "https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}",
  "description": "Get information about a specific node.",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "ERsKC6crpSmlAs3M6jckR",
        "language": "curl",
        "code": "curl --location --globoff 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'X-VOLTAGE-AUTH: {voltage_api_key}'",
        "customLabel": ""
      },
      {
        "id": "omyBQ6W4sZZ7fE17cGSCq",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'GET',\n   'url': 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json',\n      'X-VOLTAGE-AUTH': 'voltage_api_key'\n   }\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "1wNiifWO5-i4dWuib7iwS",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\nmyHeaders.append(\"X-VOLTAGE-AUTH\", \"voltage_api_key\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "QyN0NCX7s3pJ6JEaxEhxz",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}\"\n\npayload = {}\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json',\n   'X-VOLTAGE-AUTH': 'voltage_api_key'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "PuZjMBx8tBDVujL5yf2aX",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest[\"X-VOLTAGE-AUTH\"] = \"voltage_api_key\"\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "ERsKC6crpSmlAs3M6jckR"
  },
  "results": {
    "languages": [
      {
        "id": "JQFXdPu6BBVPyBuXIFPf0",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"node_name\": \"myvoltagenode\",\n  \"status\": \"running\",\n  \"node_id\": \"7b12b510-8633-4c49-af2b-9cb5b73d6feeN\",\n  \"expires\": \"never\",\n  \"created\": \"2024-01-29T18:55:12Z\",\n  \"type\": \"standard\",\n  \"purchased_type\": \"paid\",\n  \"purchase_status\": \"active\",\n  \"lnd_version\": \"0.17.4-beta\",\n  \"volt_version\": \"v0.5.0\",\n  \"update_available\": false,\n  \"api_endpoint\": \"myvoltagenode.m.voltageapp.io\",\n  \"network\": \"mainnet\",\n  \"command_history\": [\n    {\n      \"action\": \"stop\",\n      \"time\": \"2024-01-29T18:55:12Z\"\n    },\n    {\n      \"action\": \"start\",\n      \"time\": \"2024-01-29T18:59:12Z\"\n    }\n  ],\n  \"settings\": {\n    \"autopilot\": false,\n    \"grpc\": true,\n    \"rest\": true,\n    \"keysend\": true,\n    \"alias\": \"myvoltagenode\",\n    \"color\": \"#EF820D\",\n    \"whitelist\": [\n      \"1.1.1.1\",\n      \"2.2.2.2\"\n    ],\n    \"wumbo\": false,\n    \"webhook\": \"\",\n    \"webhook_secret\": \"19cef4784ff04ff5bc8053d5847254e0\",\n    \"sphinx\": true,\n    \"minchansize\": \"\",\n    \"maxchansize\": \"\",\n    \"autocompaction\": true,\n    \"defaultfeerate\": \"\",\n    \"numgraphsyncpeers\": \"3\",\n    \"maxpendingchannels\": \"2\",\n    \"allowcircularroute\": false,\n    \"gccanceledinvoicesonthefly\": false,\n    \"gccanceledinvoicesonstartup\": false,\n    \"amp\": true,\n    \"wtclient\": false,\n    \"torskipproxyforclearnettargets\": false,\n    \"rpcmiddleware\": false,\n    \"optionscidalias\": false,\n    \"zeroconf\": false\n  }\n}"
      },
      {
        "id": "ZgHC06Vmdxw5mGEV8mCPB",
        "language": "404",
        "customLabel": "",
        "code": "{\n  \"message\": \"not found\"\n}"
      }
    ],
    "selectedLanguageId": "ZgHC06Vmdxw5mGEV8mCPB"
  },
  "request": {
    "pathParameters": [
      {
        "name": "organization_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the organization that owns the node. ",
        "children": []
      },
      {
        "name": "node_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the node that you want to get information for. ",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-VOLTAGE-AUTH",
        "kind": "required",
        "type": "string",
        "description": "Your Voltage API Key that can be created on your Voltage Dashboard. ",
        "children": []
      }
    ],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "get-a-node",
  "legacyHash": "1GhGqPUkcGhZSTIJffV2n"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Create a Node",
  "method": "POST",
  "url": "https://api.voltage.cloud/organizations/{organization_id}/nodes",
  "description": "Create a new Lightning node.",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "pDmzgB8PRnZKWO5PZHs1x",
        "language": "curl",
        "code": "curl --location --globoff 'https://api.voltage.cloud/organizations/{organization_id}/nodes' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'X-VOLTAGE-AUTH: {voltage_api_key}' \\\n--data '{\"name\":\"node-name\",\"network\":\"mainnet\",\"type\":\"standard\",\"settings\":{\"autopilot\": false,\"grpc\":true,\"rest\":true,\"keysend\":true,\"whitelist\":[],\"alias\":\"node-alias\",\"color\":\"#FF5000\"}}'",
        "customLabel": ""
      },
      {
        "id": "R97MZe6O_zSN6YhHpQM_N",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.voltage.cloud/organizations/{organization_id}/nodes',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json',\n      'X-VOLTAGE-AUTH': 'voltage_api_key'\n   },\n   body: JSON.stringify({\n      \"name\": \"node-name\",\n      \"network\": \"mainnet\",\n      \"type\": \"standard\",\n      \"settings\": {\n        \"autopilot\": false,\n        \"grpc\":true,\n        \"rest\":true,\n        \"keysend\":true,\n        \"whitelist\":[],\n        \"alias\":\"node-alias\",\n        \"color\":\"#FF5000\"\n      }\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "0gvaUsEnTBB54Dh232A2o",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\nmyHeaders.append(\"X-VOLTAGE-AUTH\", \"voltage_api_key\");\n\nvar raw = JSON.stringify({\n   \"name\": \"node-name\",\n   \"network\": \"mainnet\",\n   \"type\": \"standard\",\n   \"settings\": {\n     \"autopilot\": false,\n     \"grpc\":true,\n     \"rest\":true,\n     \"keysend\":true,\n     \"whitelist\":[],\n     \"alias\":\"node-alias\",\n     \"color\":\"#FF5000\"\n   }\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.voltage.cloud/organizations/{organization_id}/nodes\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "Z5gzItAh6PiNuyZ58y0QL",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.voltage.cloud/organizations/{organization_id}/nodes\"\n\npayload = json.dumps({\n   \"name\": \"node-name\",\n   \"network\": \"mainnnet\",\n   \"type\": \"standard\",\n   \"settings\": {\n     \"autopilot\": false,\n     \"grpc\":true,\n     \"rest\":true,\n     \"keysend\":true,\n     \"whitelist\":[],\n     \"alias\":\"node-alias\",\n     \"color\":\"#FF5000\"\n   }\n})\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json',\n   'X-VOLTAGE-AUTH': 'voltage_api_key'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "YFZQAzRAgrbulXLzXK9dw",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.voltage.cloud/organizations/{organization_id}/nodes\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest[\"X-VOLTAGE-AUTH\"] = \"voltage_api_key\"\nrequest.body = JSON.dump({\n   \"name\": \"node-name\",\n   \"network\": \"mainnet\",\n   \"type\": \"standard\",\n   \"settings\": {\n     \"autopilot\": false,\n     \"grpc\":true,\n     \"rest\":true,\n     \"keysend\":true,\n     \"whitelist\":[],\n     \"alias\":\"node-alias\",\n     \"color\":\"#FF5000\"\n   }\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "YFZQAzRAgrbulXLzXK9dw"
  },
  "results": {
    "languages": [
      {
        "id": "Jl-PMQrUGBGOduCGLpKtz",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"node_id\": \"8ac52ac6-b205-4051-8ac6-c538c2f269a0N\",\n  \"owner_id\": \"2936b2c7-8980-442c-b037-4845ee6e84f1\",\n  \"network\": \"mainnet\",\n  \"created\": \"2024-01-10T19:21:57Z\",\n  \"purchased_type\": \"ondemand\",\n  \"type\": \"standard\",\n}"
      },
      {
        "id": "n4hIkog9p7ORsYMW9VYuV",
        "language": "404",
        "customLabel": "",
        "code": "{\n  \"message\": \"not found\"\n}"
      }
    ],
    "selectedLanguageId": "Jl-PMQrUGBGOduCGLpKtz"
  },
  "request": {
    "pathParameters": [
      {
        "name": "organization_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the organization that owns the node. ",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-VOLTAGE-AUTH",
        "kind": "required",
        "type": "string",
        "description": "Your Voltage API Key that can be created on your Voltage Dashboard. ",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "name",
        "kind": "required",
        "type": "string",
        "description": "User defined node name given at creation"
      },
      {
        "name": "network",
        "kind": "required",
        "type": "string",
        "description": "Network the node is running on. Can be either 'testnet' or 'mainnet'.",
        "children": []
      },
      {
        "name": "type",
        "kind": "required",
        "type": "string",
        "description": "Type of node, either 'standard' or 'professional'",
        "children": []
      },
      {
        "name": "version",
        "kind": "optional",
        "type": "string",
        "description": "Specific LND Version to create",
        "": "Specific LND Version to create"
      },
      {
        "name": "settings",
        "kind": "required",
        "type": "Object",
        "description": "Settings for the Lightning Node",
        "children": [
          {
            "name": "autopilot",
            "kind": "required",
            "type": "Boolean",
            "description": "When enabled, LND will turn on its autopilot feature"
          },
          {
            "name": "grpc",
            "kind": "required",
            "type": "Boolean",
            "description": "When enabled, LND will active the gRPC API"
          },
          {
            "name": "rest",
            "kind": "required",
            "type": "Boolean",
            "description": "When enabled, LND will active the REST API"
          },
          {
            "name": "keysend",
            "kind": "required",
            "type": "Boolean",
            "description": "When enabled, LND will enable the Keysend feature"
          },
          {
            "name": "whitelist",
            "kind": "required",
            "type": "Array",
            "description": "A list of IPs that are allowed to talk to your node"
          },
          {
            "name": "alias",
            "kind": "required",
            "type": "string",
            "description": "Your node's Alias on the peer to peer network"
          },
          {
            "name": "color",
            "kind": "required",
            "type": "string",
            "description": "Your node's Color on the peer to peer network"
          },
          {
            "name": "wumbo",
            "kind": "optional",
            "type": "Boolean",
            "description": "When enabled, LND will accept Wumbo channels"
          },
          {
            "name": "webhook",
            "kind": "optional",
            "type": "string",
            "description": "Your webhook endpoint if you wish to receive webhook events"
          },
          {
            "name": "minchansize",
            "kind": "optional",
            "type": "string",
            "description": "The minimum channel size your node will accept"
          },
          {
            "name": "maxchansize",
            "kind": "optional",
            "type": "string",
            "description": "The maximum channel size your node will accept"
          },
          {
            "name": "autocompaction",
            "kind": "optional",
            "type": "Boolean",
            "description": "When enabled, LND will automatically compact the databases on startup"
          },
          {
            "name": "defaultfeerate",
            "kind": "optional",
            "type": "string",
            "description": "Your default fee rate for your channels"
          },
          {
            "name": "basefee",
            "kind": "optional",
            "type": "string",
            "description": "Your base fee rate for your channels"
          },
          {
            "name": "amp",
            "kind": "optional",
            "type": "Boolean",
            "description": "Enables Atomic Multipath Payments"
          },
          {
            "name": "wtclient",
            "kind": "optional",
            "type": "Boolean",
            "description": "Enables the watchtower client"
          },
          {
            "name": "maxpendingchannels",
            "kind": "optional",
            "type": "string",
            "description": "Maximum number of pending channels allowed for a single peer"
          },
          {
            "name": "allowcircularroute",
            "kind": "optional",
            "type": "Boolean",
            "description": "If enabled, allows a payment to exit and enter the same channel"
          },
          {
            "name": "numgraphsyncpeers",
            "kind": "optional",
            "type": "string",
            "description": "Number of peers used for syncing the graph"
          },
          {
            "name": "gccanceledinvoicesonstartup",
            "kind": "optional",
            "type": "Boolean",
            "description": "If enabled, deletes cancelled invoices only when LND starts up"
          },
          {
            "name": "gccanceledinvoicesonthefly",
            "kind": "optional",
            "type": "Boolean",
            "description": "If enabled, deletes cancelled invoices while LND is running"
          },
          {
            "name": "torskipproxyforclearnettargets",
            "kind": "optional",
            "type": "Boolean",
            "description": "Optimization for clearnet peers. See LND Docs."
          },
          {
            "name": "rpcmiddleware",
            "kind": "optional",
            "type": "Boolean",
            "description": "Enables the rpcmiddleware, which can interecept certain rpc calls. See LND Docs."
          },
          {
            "name": "optionscidalias",
            "kind": "optional",
            "type": "Boolean",
            "description": "If enabled, and zeroconf is also enabled, it is possible to create zeroconf channels. See lnd docs."
          },
          {
            "name": "zeroconf",
            "kind": "optional",
            "type": "Boolean",
            "description": "If enabled, and optionscidalias is also enabled, it is possible to create zeroconf channels. See lnd docs."
          },
          {
            "name": "remotesigning",
            "kind": "optional",
            "type": "Boolean",
            "description": "Turn on or off remote signing"
          },
          {
            "name": "remotesigninghost",
            "kind": "optional",
            "type": "string",
            "description": "IP Address or Hostname of the remote signing instance"
          },
          {
            "name": "remotesigningmacaroon",
            "kind": "optional",
            "type": "string",
            "description": "Macaroon used for authentication to the remote signer"
          },
          {
            "name": "remotesigningcert",
            "kind": "optional",
            "type": "string",
            "description": "TLS Certificate of the remote signer"
          }
        ],
        "schema": [
          {
            "name": "autopilot",
            "kind": "required",
            "type": "Boolean",
            "description": "When enabled, LND will turn on its autopilot feature"
          },
          {
            "name": "grpc",
            "kind": "required",
            "type": "Boolean",
            "description": "When enabled, LND will active the gRPC API"
          },
          {
            "name": "rest",
            "kind": "required",
            "type": "Boolean",
            "description": "When enabled, LND will active the REST API"
          },
          {
            "name": "keysend",
            "kind": "required",
            "type": "Boolean",
            "description": "When enabled, LND will enable the Keysend feature"
          },
          {
            "name": "whitelist",
            "kind": "required",
            "type": "Array",
            "description": "A list of IPs that are allowed to talk to your node"
          },
          {
            "name": "alias",
            "kind": "required",
            "type": "string",
            "description": "Your node's Alias on the peer to peer network"
          },
          {
            "name": "color",
            "kind": "required",
            "type": "string",
            "description": "Your node's Color on the peer to peer network"
          },
          {
            "name": "wumbo",
            "kind": "optional",
            "type": "Boolean",
            "description": "When enabled, LND will accept Wumbo channels"
          },
          {
            "name": "webhook",
            "kind": "optional",
            "type": "string",
            "description": "Your webhook endpoint if you wish to receive webhook events"
          },
          {
            "name": "minchansize",
            "kind": "optional",
            "type": "string",
            "description": "The minimum channel size your node will accept"
          },
          {
            "name": "maxchansize",
            "kind": "optional",
            "type": "string",
            "description": "The maximum channel size your node will accept"
          },
          {
            "name": "autocompaction",
            "kind": "optional",
            "type": "Boolean",
            "description": "When enabled, LND will automatically compact the databases on startup"
          },
          {
            "name": "defaultfeerate",
            "kind": "optional",
            "type": "string",
            "description": "Your default fee rate for your channels"
          },
          {
            "name": "basefee",
            "kind": "optional",
            "type": "string",
            "description": "Your base fee rate for your channels"
          },
          {
            "name": "amp",
            "kind": "optional",
            "type": "Boolean",
            "description": "Enables Atomic Multipath Payments"
          },
          {
            "name": "wtclient",
            "kind": "optional",
            "type": "Boolean",
            "description": "Enables the watchtower client"
          },
          {
            "name": "maxpendingchannels",
            "kind": "optional",
            "type": "string",
            "description": "Maximum number of pending channels allowed for a single peer"
          },
          {
            "name": "allowcircularroute",
            "kind": "optional",
            "type": "Boolean",
            "description": "If enabled, allows a payment to exit and enter the same channel"
          },
          {
            "name": "numgraphsyncpeers",
            "kind": "optional",
            "type": "string",
            "description": "Number of peers used for syncing the graph"
          },
          {
            "name": "gccanceledinvoicesonstartup",
            "kind": "optional",
            "type": "Boolean",
            "description": "If enabled, deletes cancelled invoices only when LND starts up"
          },
          {
            "name": "gccanceledinvoicesonthefly",
            "kind": "optional",
            "type": "Boolean",
            "description": "If enabled, deletes cancelled invoices while LND is running"
          },
          {
            "name": "torskipproxyforclearnettargets",
            "kind": "optional",
            "type": "Boolean",
            "description": "Optimization for clearnet peers. See LND Docs."
          },
          {
            "name": "rpcmiddleware",
            "kind": "optional",
            "type": "Boolean",
            "description": "Enables the rpcmiddleware, which can interecept certain rpc calls. See LND Docs."
          },
          {
            "name": "optionscidalias",
            "kind": "optional",
            "type": "Boolean",
            "description": "If enabled, and zeroconf is also enabled, it is possible to create zeroconf channels. See lnd docs."
          },
          {
            "name": "zeroconf",
            "kind": "optional",
            "type": "Boolean",
            "description": "If enabled, and optionscidalias is also enabled, it is possible to create zeroconf channels. See lnd docs."
          },
          {
            "name": "remotesigning",
            "kind": "optional",
            "type": "Boolean",
            "description": "Turn on or off remote signing"
          },
          {
            "name": "remotesigninghost",
            "kind": "optional",
            "type": "string",
            "description": "IP Address or Hostname of the remote signing instance"
          },
          {
            "name": "remotesigningmacaroon",
            "kind": "optional",
            "type": "string",
            "description": "Macaroon used for authentication to the remote signer"
          },
          {
            "name": "remotesigningcert",
            "kind": "optional",
            "type": "string",
            "description": "TLS Certificate of the remote signer"
          }
        ]
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "autoGeneratedAnchorSlug": "create-a-node",
  "legacyHash": "8MFl8cuB6eVuz_wmCHzd5"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Upload an Encrypted Macaroon",
  "method": "POST",
  "url": "https://api.voltage.cloud/organizations/:organization_id/nodes/:node_id/macaroon",
  "description": "Upload an encrypted macaroon for a node for backup and dashboard functionality.",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "Onkb-n0MDhn3YTKhITJlt",
        "language": "curl",
        "code": "curl --location --globoff 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/macaroon' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'X-VOLTAGE-AUTH: {voltage_api_key}' \\\n--data '{\"name\":\"invoice\",\"macaroon\":\"ZW5jcn...lwdGVkCg==\"}'",
        "customLabel": ""
      },
      {
        "id": "kmOMy_RfUOKMJccxZYnzV",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/macaroon',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json',\n      'X-VOLTAGE-AUTH': 'voltage_api_key'\n   },\n   body: JSON.stringify({\n      \"name\": \"invoice\",\n      \"macaroon\": \"ZW5jcn...lwdGVkCg==\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "wW_bW_RJRtLGXJVUxIrw-",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\nmyHeaders.append(\"X-VOLTAGE-AUTH\", \"voltage_api_key\");\n\nvar raw = JSON.stringify({\n   \"name\": \"invoice\",\n   \"macaroon\": \"ZW5jcn...lwdGVkCg==\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.voltage.cloud/organizations/:organization_id/nodes/:node_id/macaroon/{organization_id}/{node_id}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "ysdC0hSBkV0GZtzYMuw1w",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/macaroon\"\n\npayload = json.dumps({\n   \"name\": \"invoice\",\n   \"macaroon\": \"ZW5jcn...lwdGVkCg==\"\n})\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json',\n   'X-VOLTAGE-AUTH': 'voltage_api_key'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "ptqA6ulhf065j-BSCF9qW",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/macaroon\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest[\"X-VOLTAGE-AUTH\"] = \"voltage_api_key\"\nrequest.body = JSON.dump({\n   \"name\": \"invoice\",\n   \"macaroon\": \"ZW5jcn...lwdGVkCg==\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "ptqA6ulhf065j-BSCF9qW"
  },
  "results": {
    "languages": [
      {
        "id": "W8J3niL5sVM0r8HhveQQl",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"node_id\": \"7b12b510-8633-4c49-af2b-9cb5b73d6feeN\",\n  \"name\": \"invoice\",\n  \"created\": \"2024-01-29T18:55:12Z\"\n}"
      },
      {
        "id": "VIQTcdyRr09f5n2WvOB6S",
        "language": "404",
        "customLabel": "",
        "code": "{\n  \"message\": \"not found\"\n}"
      }
    ],
    "selectedLanguageId": "W8J3niL5sVM0r8HhveQQl"
  },
  "request": {
    "pathParameters": [
      {
        "name": "organization_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the organization that owns the node. ",
        "children": []
      },
      {
        "name": "node_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the node that you want to backup a macaroon for.",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-VOLTAGE-AUTH",
        "kind": "required",
        "type": "string",
        "description": "Your Voltage API Key that can be created on your Voltage Dashboard. ",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "macaroon",
        "kind": "required",
        "type": "string",
        "description": "Encrypted string of the macaroon. DO NOT UPLOAD UNENCRYPTED DATA.",
        "children": []
      },
      {
        "name": "name",
        "kind": "required",
        "type": "string",
        "description": "Name of the macaroon you're backing up.",
        "children": []
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "autoGeneratedAnchorSlug": "upload-an-encrypted-macaroon",
  "legacyHash": "5uMDGjmCZ3CZML3ZHUNRz"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Upload an Encrypted Seed",
  "method": "POST",
  "url": "https://api.voltage.cloud/organizations/:organization_id/nodes/:node_id/seed",
  "description": "Upload an encrypted seed phrase for a node for backup.",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "TnLxDDkgA1nY_zSKF8-Fb",
        "language": "curl",
        "code": "curl --location --globoff 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/seed' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'X-VOLTAGE-AUTH: {voltage_api_key}' \\\n--data '{\"seed\":\"ZW5jcn...lwdGVkCg==\"}'",
        "customLabel": ""
      },
      {
        "id": "MCz5mGPdHTzLi5o0Fu9PY",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/seed',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json',\n      'X-VOLTAGE-AUTH': 'voltage_api_key'\n   },\n   body: JSON.stringify({\n      \"seed\": \"ZW5jcn...lwdGVkCg==\"\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "YW2fSsfmJN_MGOZnYjA0l",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\nmyHeaders.append(\"X-VOLTAGE-AUTH\", \"voltage_api_key\");\n\nvar raw = JSON.stringify({\n   \"seed\": \"ZW5jcn...lwdGVkCg==\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/seed\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "OeitGIxkfPY_tng9HXxQj",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/seed\"\n\npayload = json.dumps({\n   \"seed\": \"ZW5jcn...lwdGVkCg==\"\n})\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json',\n   'X-VOLTAGE-AUTH': 'voltage_api_key'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "nFruxHGuih_-Yck1aNMbT",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/seed\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest[\"X-VOLTAGE-AUTH\"] = \"voltage_api_key\"\nrequest.body = JSON.dump({\n   \"seed\": \"ZW5jcn...lwdGVkCg==\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "nFruxHGuih_-Yck1aNMbT"
  },
  "results": {
    "languages": [
      {
        "id": "tapjPDP7n9guxmoOCr7Ex",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"node_id\": \"f8f2256d-d443-4d73-8f9c-cae0831e55cfN\",\n  \"node_name\": \"myvoltagenode\",\n  \"seed\": \"kljdlkjfklahelkjhlkjh==\"\n}"
      },
      {
        "id": "23d9_caNNLn9HO6VApJW2",
        "language": "404",
        "customLabel": "",
        "code": "{\n  \"message\": \"not found\"\n}"
      }
    ],
    "selectedLanguageId": "23d9_caNNLn9HO6VApJW2"
  },
  "request": {
    "pathParameters": [
      {
        "name": "organization_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the organization that you want to list nodes for.",
        "children": []
      },
      {
        "name": "node_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the node that you want to backup a seed for.",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-VOLTAGE-AUTH",
        "kind": "required",
        "type": "string",
        "description": "Your Voltage API Key that can be created on your Voltage Dashboard. ",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "seed",
        "kind": "required",
        "type": "string",
        "description": "Encrypted string of the seed. DO NOT UPLOAD UNENCRYPTED DATA."
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "upload-an-encrypted-seed",
  "legacyHash": "ch54M4nL-D4RGB42DUSdN"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Update a Node's Whitelist",
  "method": "POST",
  "url": "https://api.voltage.cloud/organizations/:organization_id/nodes/:node_id/whitelist",
  "description": "Update the IP Addresses that are allowed to talk to a node's APIs",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "gXTCSKaP3I2G7Y2iHKNwz",
        "language": "curl",
        "code": "curl --location --globoff 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/whitelist' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'X-VOLTAGE-AUTH: {voltage_api_key}' \\\n--data '{\"whitelist\":[\"1.2.3.4\"]}'",
        "customLabel": ""
      },
      {
        "id": "GBeM6H9gRhQO1ogki6XJz",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/whitelist',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json',\n      'X-VOLTAGE-AUTH': 'voltage_api_key'\n   },\n   body: JSON.stringify({\n      \"whitelist\": [\n        \"1.2.3.4\"\n      ]\n   })\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "CrEJbAc4OXR8e09dd0HlP",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\nmyHeaders.append(\"X-VOLTAGE-AUTH\", \"voltage_api_key\");\n\nvar raw = JSON.stringify({\n   \"whitelist\": [\n     \"1.2.3.4\"\n   ]\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/whitelist\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "ofP5KWcRfUV17sSDIyuL6",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/whitelist\"\n\npayload = json.dumps({\n   \"whitelist\": [\n     \"1.2.3.4\"\n   ]\n})\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json',\n   'X-VOLTAGE-AUTH': 'voltage_api_key'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "9ImgWxiXF0Zr2318LJpXB",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/whitelist\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest[\"X-VOLTAGE-AUTH\"] = \"voltage_api_key\"\nrequest.body = JSON.dump({\n   \"whitelist\": [\n     \"1.2.3.4\"\n   ]\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "9ImgWxiXF0Zr2318LJpXB"
  },
  "results": {
    "languages": [
      {
        "id": "kTQiMBverhGrBpRczorkb",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"node_id\": \"7b12b510-8633-4c49-af2b-9cb5b73d6feeN\",\n  \"whitelist\": [\n    \"1.1.1.1\",\n    \"2.2.2.2\"\n  ]\n}"
      },
      {
        "id": "VrwLONguQPiEhewaIKF2b",
        "language": "404",
        "customLabel": "",
        "code": "{\n  \"message\": \"not found\"\n}"
      }
    ],
    "selectedLanguageId": "VrwLONguQPiEhewaIKF2b"
  },
  "request": {
    "pathParameters": [
      {
        "name": "organization_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the organization owns the node.",
        "children": []
      },
      {
        "name": "node_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the node that you want to update the whitelist fo.",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-VOLTAGE-AUTH",
        "kind": "required",
        "type": "string",
        "description": "Your Voltage API Key that can be created on your Voltage Dashboard. ",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "whitelist",
        "kind": "required",
        "type": "Array",
        "description": "List of IP Addresses that are allowed to talk to your node"
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "update-a-nodes-whitelist",
  "legacyHash": "XdW5vbzkuEcl8raMnzOXs"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Get a Certificate for a Node",
  "method": "GET",
  "url": "https://api.voltage.cloud/organizations/:organization_id/nodes/:node_id/cert",
  "description": "Get the TLS Certificate for a Node.",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "N1_nMs3fkq53YWq6tQfer",
        "language": "curl",
        "code": "curl --location --globoff 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/cert' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'X-VOLTAGE-AUTH: {voltage_api_key}'",
        "customLabel": ""
      },
      {
        "id": "mamO0y2OI9su8T1l-QWm9",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'GET',\n   'url': 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id]/cert',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json',\n      'X-VOLTAGE-AUTH': 'voltage_api_key'\n   }\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "Ow580zV6OGUJ4JEmxgz7l",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\nmyHeaders.append(\"X-VOLTAGE-AUTH\", \"voltage_api_key\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/cert\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "mA2SSz-eVMX-T6ap5MsFr",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/cert\"\n\npayload = {}\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json',\n   'X-VOLTAGE-AUTH': 'voltage_api_key'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "SV_UB-GLG59Zk0Wwz8Qwt",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/cert\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest[\"X-VOLTAGE-AUTH\"] = \"voltage_api_key\"\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "SV_UB-GLG59Zk0Wwz8Qwt"
  },
  "results": {
    "languages": [
      {
        "id": "YCRJJft3mcXdrPTT5M528",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"node_id\": \"7b12b510-8633-4c49-af2b-9cb5b73d6feeN\",\n  \"tls_cert\": \"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUdnRENDQkdpZ0F3SUJBZ0lRSE5wVmxDS3RmMGZoU1Y5UGtjOEJhVEFOQmdrcWhraUc5dzBCQVF3RkFEQkwKTVFzd0NRWURWUVFHRXd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WRHdvSXpRRFYKZXJjVDBlWXFaakJOSjhWTld3VkZsUU90WkVScW41aVduRVZhTFpaZHp4bGJ2ejJGeDBFeFVOdVVFZ1lrSVZNNApZb2NLa0NRN2hPNW5vaWNvcS9EckVZSDVJdU5jdVcxSThKSlo5REx1QjFmWXZJSGxaMkpHNDZpTmJWS0EzeWdBCkV6ODZSdkRRbHQyQzQ5NHFxUFZJdFJqcno5WWxKRUdUMERydHR5QXBxMFlMRkR6ZitaMXBrTWhoN2MrN2ZYZUoKcW1JaGZKcGR1S2M4SEVRa1lRUVNoZW40MjZTM0gwSnJJQWJLY0JDaXlZRnVPaGZ5dnV3VkNGRGZGdnJqQURqZAo0algxdVFYZDE2MUl5RlJibTg5czJPajVvVTF3RFl6NXN4K2hvQ3VoNmxTcysvdVB1V29tSXEzeTFHREZOYWZXCitMc0hCVTE2bFFvNVEyeWgyNWxhUXNLUmd5UG1NcEhKOThlZG02eTJzSFVhYkFTbVJIeHZHaXV3d0UyNWFEVTAKMlNBZWVweUltSjJDekI4MFlHN1d4bHluSHFOaHBFN3hmQzdQelFsTGdtZkVIZFUrdEhGZVFhelJRbnJGa1cyVwprcVJHSXE3Y0tSbnl5cHZqUE1ramVpVjlsUmRBTTlmU0p2c0Izc3ZVdXUxY29JRzF4eEkxeWVnb0dNNHI1UVA0ClJHSVZ2WWFpSTc2QzBkam9TYlEvZGtJVVVYUXVCOEFMNWp5SDM0ZzNCWmFhWHl2cG1uVjRpbHBwTVhWQW5BWUcKT041MVdoSjZXMHhOZE5Kd3pZQVNaWUgrdG1DV0krTjYwR3YyTk5NR0h3TVo3ZTliWGd6VUNaSDVGYUJGREdSNQpTOVZXcUhCNzNRK095SVZ2SWJLWWNTYzJ3L2FTdUZLR1NBPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=\"\n}"
      },
      {
        "id": "zRLIjULdgU1IbLnXnpt9y",
        "language": "404",
        "customLabel": "",
        "code": "{\n  \"message\": \"not found\"\n}"
      }
    ],
    "selectedLanguageId": "YCRJJft3mcXdrPTT5M528"
  },
  "request": {
    "pathParameters": [
      {
        "name": "organization_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the organization owns the node.",
        "children": []
      },
      {
        "name": "node_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the node that you want to update the whitelist fo.",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-VOLTAGE-AUTH",
        "kind": "required",
        "type": "string",
        "description": "Your Voltage API Key that can be created on your Voltage Dashboard. ",
        "children": []
      }
    ],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "get-a-certificate-for-a-node",
  "legacyHash": "eNPIziFVKrwVa4OXLNHw9"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Start a Node",
  "method": "POST",
  "url": "https://api.voltage.cloud/organizations/:organization_id/nodes/:node_id/start",
  "description": "Start up a Node.",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "P4mCO2Y_MAOEaMVa0Puua",
        "language": "curl",
        "code": "curl --location --globoff --request POST 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/start' \\\n--header 'X-VOLTAGE-AUTH: string'",
        "customLabel": ""
      },
      {
        "id": "X8rEMHWRwK8MpfhZpFAID",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/stop',\n   'headers': {\n      'X-VOLTAGE-AUTH': 'string'\n   }\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "9uFHcIv1PSeDVNg7GuNJl",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"X-VOLTAGE-AUTH\", \"string\");\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/stop\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "k2UrZR_VzWzKjADsFUer_",
        "language": "python",
        "code": "import requests\n\nurl = \"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/start\"\n\npayload = {}\nheaders = {\n   'X-VOLTAGE-AUTH': 'string'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "yCaHNDBL7Bopy1oOu9QxK",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/start\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"X-VOLTAGE-AUTH\"] = \"string\"\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "yCaHNDBL7Bopy1oOu9QxK"
  },
  "results": {
    "languages": [
      {
        "id": "YCRJJft3mcXdrPTT5M528",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"message\": \"node is starting up\"\n}"
      },
      {
        "id": "zRLIjULdgU1IbLnXnpt9y",
        "language": "404",
        "customLabel": "",
        "code": "{\n  \"message\": \"not found\"\n}"
      }
    ],
    "selectedLanguageId": "YCRJJft3mcXdrPTT5M528"
  },
  "request": {
    "pathParameters": [
      {
        "name": "organization_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the organization owns the node.",
        "children": []
      },
      {
        "name": "node_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the node that you want to update the whitelist fo.",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-VOLTAGE-AUTH",
        "kind": "required",
        "type": "string",
        "description": "Your Voltage API Key that can be created on your Voltage Dashboard. ",
        "children": []
      }
    ],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "autoGeneratedAnchorSlug": "start-a-node",
  "legacyHash": "mkg0-t0CpBvFAJyr_D1nr"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Stop a Node",
  "method": "POST",
  "url": "https://api.voltage.cloud/organizations/:organization_id/nodes/:node_id/stop",
  "description": "Shut down a Node.",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "P4mCO2Y_MAOEaMVa0Puua",
        "language": "curl",
        "code": "curl --location --globoff --request POST 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/stop' \\\n--header 'X-VOLTAGE-AUTH: string'",
        "customLabel": ""
      },
      {
        "id": "X8rEMHWRwK8MpfhZpFAID",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/stop',\n   'headers': {\n      'X-VOLTAGE-AUTH': 'string'\n   }\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "9uFHcIv1PSeDVNg7GuNJl",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"X-VOLTAGE-AUTH\", \"string\");\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/stop\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "k2UrZR_VzWzKjADsFUer_",
        "language": "python",
        "code": "import requests\n\nurl = \"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/start\"\n\npayload = {}\nheaders = {\n   'X-VOLTAGE-AUTH': 'string'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "yCaHNDBL7Bopy1oOu9QxK",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/stop\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"X-VOLTAGE-AUTH\"] = \"string\"\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "yCaHNDBL7Bopy1oOu9QxK"
  },
  "results": {
    "languages": [
      {
        "id": "YCRJJft3mcXdrPTT5M528",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"message\": \"node is shutting down\"\n}"
      },
      {
        "id": "zRLIjULdgU1IbLnXnpt9y",
        "language": "404",
        "customLabel": "",
        "code": "{\n  \"message\": \"not found\"\n}"
      }
    ],
    "selectedLanguageId": "YCRJJft3mcXdrPTT5M528"
  },
  "request": {
    "pathParameters": [
      {
        "name": "organization_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the organization owns the node.",
        "children": []
      },
      {
        "name": "node_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the node that you want to update the whitelist fo.",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-VOLTAGE-AUTH",
        "kind": "required",
        "type": "string",
        "description": "Your Voltage API Key that can be created on your Voltage Dashboard. ",
        "children": []
      }
    ],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "autoGeneratedAnchorSlug": "stop-a-node",
  "legacyHash": "KidHgS-lEg_hkDOj3fESt"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Update a Node",
  "method": "PUT",
  "url": "https://api.voltage.cloud/organizations/:organization_id/nodes/:node_id/update",
  "description": "Update a Node to the latest version.",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "P4mCO2Y_MAOEaMVa0Puua",
        "language": "curl",
        "code": "curl --location --globoff --request POST 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/update' \\\n--header 'X-VOLTAGE-AUTH: string'",
        "customLabel": ""
      },
      {
        "id": "X8rEMHWRwK8MpfhZpFAID",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/update',\n   'headers': {\n      'X-VOLTAGE-AUTH': 'string'\n   }\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "9uFHcIv1PSeDVNg7GuNJl",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"X-VOLTAGE-AUTH\", \"string\");\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/update\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "k2UrZR_VzWzKjADsFUer_",
        "language": "python",
        "code": "import requests\n\nurl = \"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/update\"\n\npayload = {}\nheaders = {\n   'X-VOLTAGE-AUTH': 'string'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "yCaHNDBL7Bopy1oOu9QxK",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/update\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"X-VOLTAGE-AUTH\"] = \"string\"\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "yCaHNDBL7Bopy1oOu9QxK"
  },
  "results": {
    "languages": [
      {
        "id": "YCRJJft3mcXdrPTT5M528",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"node_id\": \"8ac52ac6-b205-4051-8ac6-c538c2f269a0N\",\n  \"lnd_version\": \"0.18.2-beta\",\n  \"volt_version\": \"v0.4.16\",\n}"
      },
      {
        "id": "zRLIjULdgU1IbLnXnpt9y",
        "language": "404",
        "customLabel": "",
        "code": "{\n  \"message\": \"not found\"\n}"
      }
    ],
    "selectedLanguageId": "YCRJJft3mcXdrPTT5M528"
  },
  "request": {
    "pathParameters": [
      {
        "name": "organization_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the organization owns the node.",
        "children": []
      },
      {
        "name": "node_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the node that you want to update the whitelist fo.",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-VOLTAGE-AUTH",
        "kind": "required",
        "type": "string",
        "description": "Your Voltage API Key that can be created on your Voltage Dashboard. ",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "version",
        "kind": "optional",
        "type": "string",
        "description": "Specific LND Version to update to",
        "": "Specific LND Version to update to"
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "autoGeneratedAnchorSlug": "update-a-node",
  "legacyHash": "RtAzhGb593DFTMyIv3TNp"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Delete a Node",
  "method": "DELETE",
  "url": "https://api.voltage.cloud/organizations/:organization_id/nodes/:node_id",
  "description": "Delete a Node from team.",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "P4mCO2Y_MAOEaMVa0Puua",
        "language": "curl",
        "code": "curl --location --globoff --request DELETE 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}' \\\n--header 'X-VOLTAGE-AUTH: string'",
        "customLabel": ""
      },
      {
        "id": "X8rEMHWRwK8MpfhZpFAID",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'DELETE',\n   'url': 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}',\n   'headers': {\n      'X-VOLTAGE-AUTH': 'string'\n   }\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "9uFHcIv1PSeDVNg7GuNJl",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"X-VOLTAGE-AUTH\", \"string\");\n\nvar requestOptions = {\n   method: 'DELETE',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "k2UrZR_VzWzKjADsFUer_",
        "language": "python",
        "code": "import requests\n\nurl = \"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}\"\n\npayload = {}\nheaders = {\n   'X-VOLTAGE-AUTH': 'string'\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "yCaHNDBL7Bopy1oOu9QxK",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Delete.new(url)\nrequest[\"X-VOLTAGE-AUTH\"] = \"string\"\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "yCaHNDBL7Bopy1oOu9QxK"
  },
  "results": {
    "languages": [
      {
        "id": "YCRJJft3mcXdrPTT5M528",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"node_name\": \"nodename\",\n  \"status\": \"deleted\",\n  \"node_id\": \"8ac52ac6-b205-4051-8ac6-c538c2f269a0N\",\n  \"created\": \"07-18-2024T00:00:00Z\",\n  \"owner_id\": \"2936b2c7-8980-442c-b037-4845ee6e84f1U\",\n  \"api_endpoint\": \"nodename.m.voltageapp.io\",\n  \"network\": \"mainnet\",\n  \"type\": \"standard\",\n  \"command_history\": [\n    {\n      \"action\": \"delete\",\n      \"time\": \"07-18-2024T00:00:00Z\"\n    }\n  ],\n}"
      },
      {
        "id": "zRLIjULdgU1IbLnXnpt9y",
        "language": "404",
        "customLabel": "",
        "code": "{\n  \"message\": \"not found\"\n}"
      }
    ],
    "selectedLanguageId": "YCRJJft3mcXdrPTT5M528"
  },
  "request": {
    "pathParameters": [
      {
        "name": "organization_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the organization owns the node.",
        "children": []
      },
      {
        "name": "node_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the node that you want to update the whitelist fo.",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-VOLTAGE-AUTH",
        "kind": "required",
        "type": "string",
        "description": "Your Voltage API Key that can be created on your Voltage Dashboard. ",
        "children": []
      }
    ],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "autoGeneratedAnchorSlug": "delete-a-node",
  "legacyHash": "T0nPeyr5sKU7RPFHxD7CA"
}
```
:::



:::ApiMethodV2
```json
{
  "name": "Update a Node Settings",
  "method": "PUT",
  "url": "https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/settings",
  "description": "Update a node's settings.",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "5IpR6c8l3NTv7jk7X9GcJ",
        "language": "curl",
        "code": "curl --location --globoff --request PUT 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/settings' \\\n--header 'X-VOLTAGE-AUTH: string' \\\n--data '{\"settings\":{\"autopilot\": true,...}}'",
        "customLabel": ""
      },
      {
        "id": "jVmUH-BPCelBYQ0I3A4mh",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'PUT',\n   'url': 'https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/settings/{organization_id}',\n   'headers': {\n      'X-VOLTAGE-AUTH': 'string'\n   },\n   body: '{\"settings\":\"Object\"}'\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "qiR0vZvsx24Y7Jkr5M0DE",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"X-VOLTAGE-AUTH\", \"string\");\n\nvar raw = \"{\\\"settings\\\":\\\"Object\\\"}\";\n\nvar requestOptions = {\n   method: 'PUT',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/settings/{organization_id}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "LoPWAgsd1fcmxzFY8miai",
        "language": "python",
        "code": "import requests\n\nurl = \"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/settings/{organization_id}\"\n\npayload = \"{\\\"settings\\\":\\\"Object\\\"}\"\nheaders = {\n   'X-VOLTAGE-AUTH': 'string'\n}\n\nresponse = requests.request(\"PUT\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "offK2e8_2lcR8cjBNTMfs",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/settings/{organization_id}\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"X-VOLTAGE-AUTH\"] = \"string\"\nrequest.body = \"{\\\"settings\\\":\\\"Object\\\"}\"\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "qiR0vZvsx24Y7Jkr5M0DE"
  },
  "results": {
    "languages": [
      {
        "id": "Jl-PMQrUGBGOduCGLpKtz",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"node_id\": \"8ac52ac6-b205-4051-8ac6-c538c2f269a0N\",\n  \"owner_id\": \"2936b2c7-8980-442c-b037-4845ee6e84f1\",\n  \"network\": \"mainnet\",\n  \"created\": \"2024-01-10T19:21:57Z\",\n  \"purchased_type\": \"ondemand\",\n  \"type\": \"standard\",\n  \"settings\": {\n    \"autopilot\": false,\n    \"grpc\": true,\n    ...\n  }\n}"
      },
      {
        "id": "n4hIkog9p7ORsYMW9VYuV",
        "language": "404",
        "customLabel": "",
        "code": "{\n  \"message\": \"not found\"\n}"
      }
    ],
    "selectedLanguageId": "Jl-PMQrUGBGOduCGLpKtz"
  },
  "request": {
    "pathParameters": [
      {
        "name": "organization_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the organization that owns the node. ",
        "children": []
      },
      {
        "name": "node_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the node that you want to update the whitelist fo.",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-VOLTAGE-AUTH",
        "kind": "required",
        "type": "string",
        "description": "Your Voltage API Key that can be created on your Voltage Dashboard. ",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "settings",
        "kind": "required",
        "type": "Object",
        "description": "Settings for the Lightning Node",
        "children": [
          {
            "name": "autopilot",
            "kind": "required",
            "type": "Boolean",
            "description": "When enabled, LND will turn on its autopilot feature"
          },
          {
            "name": "grpc",
            "kind": "required",
            "type": "Boolean",
            "description": "When enabled, LND will active the gRPC API"
          },
          {
            "name": "rest",
            "kind": "required",
            "type": "Boolean",
            "description": "When enabled, LND will active the REST API"
          },
          {
            "name": "keysend",
            "kind": "required",
            "type": "Boolean",
            "description": "When enabled, LND will enable the Keysend feature"
          },
          {
            "name": "whitelist",
            "kind": "required",
            "type": "Array",
            "description": "A list of IPs that are allowed to talk to your node"
          },
          {
            "name": "alias",
            "kind": "required",
            "type": "string",
            "description": "Your node's Alias on the peer to peer network"
          },
          {
            "name": "color",
            "kind": "required",
            "type": "string",
            "description": "Your node's Color on the peer to peer network"
          },
          {
            "name": "wumbo",
            "kind": "optional",
            "type": "Boolean",
            "description": "When enabled, LND will accept Wumbo channels"
          },
          {
            "name": "webhook",
            "kind": "optional",
            "type": "string",
            "description": "Your webhook endpoint if you wish to receive webhook events"
          },
          {
            "name": "minchansize",
            "kind": "optional",
            "type": "string",
            "description": "The minimum channel size your node will accept"
          },
          {
            "name": "maxchansize",
            "kind": "optional",
            "type": "string",
            "description": "The maximum channel size your node will accept"
          },
          {
            "name": "autocompaction",
            "kind": "optional",
            "type": "Boolean",
            "description": "When enabled, LND will automatically compact the databases on startup"
          },
          {
            "name": "defaultfeerate",
            "kind": "optional",
            "type": "string",
            "description": "Your default fee rate for your channels"
          },
          {
            "name": "basefee",
            "kind": "optional",
            "type": "string",
            "description": "Your base fee rate for your channels"
          },
          {
            "name": "amp",
            "kind": "optional",
            "type": "Boolean",
            "description": "Enables Atomic Multipath Payments"
          },
          {
            "name": "wtclient",
            "kind": "optional",
            "type": "Boolean",
            "description": "Enables the watchtower client"
          },
          {
            "name": "maxpendingchannels",
            "kind": "optional",
            "type": "string",
            "description": "Maximum number of pending channels allowed for a single peer"
          },
          {
            "name": "allowcircularroute",
            "kind": "optional",
            "type": "Boolean",
            "description": "If enabled, allows a payment to exit and enter the same channel"
          },
          {
            "name": "numgraphsyncpeers",
            "kind": "optional",
            "type": "string",
            "description": "Number of peers used for syncing the graph"
          },
          {
            "name": "gccanceledinvoicesonstartup",
            "kind": "optional",
            "type": "Boolean",
            "description": "If enabled, deletes cancelled invoices only when LND starts up"
          },
          {
            "name": "gccanceledinvoicesonthefly",
            "kind": "optional",
            "type": "Boolean",
            "description": "If enabled, deletes cancelled invoices while LND is running"
          },
          {
            "name": "torskipproxyforclearnettargets",
            "kind": "optional",
            "type": "Boolean",
            "description": "Optimization for clearnet peers. See LND Docs."
          },
          {
            "name": "rpcmiddleware",
            "kind": "optional",
            "type": "Boolean",
            "description": "Enables the rpcmiddleware, which can interecept certain rpc calls. See LND Docs."
          },
          {
            "name": "optionscidalias",
            "kind": "optional",
            "type": "Boolean",
            "description": "If enabled, and zeroconf is also enabled, it is possible to create zeroconf channels. See lnd docs."
          },
          {
            "name": "zeroconf",
            "kind": "optional",
            "type": "Boolean",
            "description": "If enabled, and optionscidalias is also enabled, it is possible to create zeroconf channels. See lnd docs."
          },
          {
            "name": "remotesigning",
            "kind": "optional",
            "type": "Boolean",
            "description": "Turn on or off remote signing"
          },
          {
            "name": "remotesigninghost",
            "kind": "optional",
            "type": "string",
            "description": "IP Address or Hostname of the remote signing instance"
          },
          {
            "name": "remotesigningmacaroon",
            "kind": "optional",
            "type": "string",
            "description": "Macaroon used for authentication to the remote signer"
          },
          {
            "name": "remotesigningcert",
            "kind": "optional",
            "type": "string",
            "description": "TLS Certificate of the remote signer"
          }
        ]
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Path Parameter",
    "value": "pathParameters"
  },
  "autoGeneratedAnchorSlug": "update-a-node-settings",
  "legacyHash": "femA1lGO4_2XC2e2JJZrD"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Upload a Support Macaroon",
  "method": "POST",
  "url": "https://api.voltage.cloud/organizations/:organization_id/nodes/:node_id/support_macaroon",
  "description": "Upload a macaroon for the Voltage Support team to use.",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "wW_bW_RJRtLGXJVUxIrw-",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\nmyHeaders.append(\"X-VOLTAGE-AUTH\", \"voltage_api_key\");\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: \"ZW5jcn...lwdGVkCg==\",\n   redirect: 'follow'\n};\n\nfetch(\"https://api.voltage.cloud/organizations/{organization_id}/nodes/{node_id}/support_macaroon\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "bEotpeJO78HaHQeukMVdf",
        "language": "curl",
        "code": "curl --location --globoff --request POST 'https://api.voltage.cloud/organizations/:organization_id/nodes/:node_id/support_macaroon/{organization_id}/{node_id}' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json'",
        "customLabel": ""
      },
      {
        "id": "KPsug0F5_zH_-BhSRKc2F",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.voltage.cloud/organizations/:organization_id/nodes/:node_id/support_macaroon/{organization_id}/{node_id}',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json'\n   }\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "q3eLwY9ziEEWkhopkxtk9",
        "language": "javascript",
        "code": "var myHeaders = new Headers();\nmyHeaders.append(\"Accept\", \"application/json\");\nmyHeaders.append(\"Content-Type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.voltage.cloud/organizations/:organization_id/nodes/:node_id/support_macaroon/{organization_id}/{node_id}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));",
        "customLabel": ""
      },
      {
        "id": "1nHWL163_L22zTvwpC_pO",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.voltage.cloud/organizations/:organization_id/nodes/:node_id/support_macaroon/{organization_id}/{node_id}\"\n\npayload = {}\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "0_tN8jbf-9r1ySDvYiP-y",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.voltage.cloud/organizations/:organization_id/nodes/:node_id/support_macaroon/{organization_id}/{node_id}\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "wW_bW_RJRtLGXJVUxIrw-"
  },
  "results": {
    "languages": [
      {
        "id": "W8J3niL5sVM0r8HhveQQl",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"message\": \"ok\"\n}"
      },
      {
        "id": "VIQTcdyRr09f5n2WvOB6S",
        "language": "404",
        "customLabel": "",
        "code": "{\n  \"message\": \"not found\"\n}"
      }
    ],
    "selectedLanguageId": "W8J3niL5sVM0r8HhveQQl"
  },
  "request": {
    "pathParameters": [
      {
        "name": "organization_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the organization that owns the node. ",
        "children": []
      },
      {
        "name": "node_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of the node that you want to backup a macaroon for.",
        "children": []
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-VOLTAGE-AUTH",
        "kind": "required",
        "type": "string",
        "description": "Your Voltage API Key that can be created on your Voltage Dashboard. ",
        "children": []
      }
    ],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "autoGeneratedAnchorSlug": "upload-a-support-macaroon",
  "legacyHash": "HwmKz2h9urfGF9if5uj8A"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Swap from Lightning to Onchain",
  "method": "POST",
  "url": "https://api.voltage.cloud/organizations/:organization_id/swap",
  "description": "You must be approved to use this endpoint.",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "Onkb-n0MDhn3YTKhITJlt",
        "language": "curl",
        "code": "curl --location --globoff 'https://api.voltage.cloud/organizations/{organization_id}/swap' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--header 'X-VOLTAGE-AUTH: {voltage_api_key}' \\\n--data '{\"amount\":50000,\"address\":\"bc1...\"}'",
        "customLabel": ""
      },
      {
        "id": "kmOMy_RfUOKMJccxZYnzV",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n   'method': 'POST',\n   'url': 'https://api.voltage.cloud/organizations/{organization_id}/swap',\n   'headers': {\n      'Accept': 'application/json',\n      'Content-Type': 'application/json',\n      'X-VOLTAGE-AUTH': 'voltage_api_key'\n   },\n   'body': {\n      'amount': 50000,\n      'address': 'tb1pcrll49pj9j36cxgqq0fmkjx9fkkffp79rhl6uaanux8uasa5vrzsezlvzy',\n      'network': 'mutinynet'\n   }\n\n};\nrequest(options, function (error, response) {\n   if (error) throw new Error(error);\n   console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "ysdC0hSBkV0GZtzYMuw1w",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://api.voltage.cloud/organizations/{organization_id}/swap\"\n\nheaders = {\n   'Accept': 'application/json',\n   'Content-Type': 'application/json',\n   'X-VOLTAGE-AUTH': 'voltage_api_key'\n}\n\nbody = {\n  \"network\":\"mutinynet\",\n  \"address\": \"tb1pcrll49pj9j36cxgqq0fmkjx9fkkffp79rhl6uaanux8uasa5vrzsezlvzy\",\n  \"amount\": 50000\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=body)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "ptqA6ulhf065j-BSCF9qW",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.voltage.cloud/organizations/{organization_id}/swap\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Accept\"] = \"application/json\"\nrequest[\"Content-Type\"] = \"application/json\"\nrequest[\"X-VOLTAGE-AUTH\"] = \"voltage_api_key\"\nrequest.body = {\n  \"network\":\"mutinynet\",\n  \"address\": \"tb1pcrll49pj9j36cxgqq0fmkjx9fkkffp79rhl6uaanux8uasa5vrzsezlvzy\",\n  \"amount\": 50000\n}\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "ptqA6ulhf065j-BSCF9qW"
  },
  "results": {
    "languages": [
      {
        "id": "W8J3niL5sVM0r8HhveQQl",
        "language": "200",
        "code": "{\n    \"payment_id\": \"be232364-397c-4b3f-a492-6f9888bdedd6\",\n    \"invoice\": \"lntbs620u1p537j42pp5euf8swh7kcsa0ds7ntn9u47zl8hqcwek9pzpqsxt2xz9x5y3e35sdryw33rzurrwfkxcdpewp4rj63nxe3hsem3wycxvmttdfurjentddnxvuph89exsmpkw4skzmn40qu82ctnvy6hvun6wdjh5mrk0fuscqzzsxqrrsssp5gj9cunlch42yc6cr74urldjxx4wj8x3fez5leu5q6wpfrke8jtpq9qxpqysgqp6hwevkc6tgqc2hm4swytz42v9su079273ht04z2nzemrtkscdxjd2523cjeq9vm7nffc4cfcxjyll8cz3xdhtp5sh6j7dj0mhhsj7gqadq22g\",\n    \"status\": \"receiving\"\n}",
        "customLabel": ""
      },
      {
        "id": "VIQTcdyRr09f5n2WvOB6S",
        "language": "404",
        "code": "{\n  \"message\": \"not found\"\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "W8J3niL5sVM0r8HhveQQl"
  },
  "request": {
    "pathParameters": [
      {
        "name": "organization_id",
        "kind": "required",
        "type": "string",
        "description": "The Voltage ID of your organization. ",
        "": "The Voltage ID of your organization. "
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "name": "X-VOLTAGE-AUTH",
        "kind": "required",
        "type": "string",
        "description": "Your Voltage API Key that can be created on your Voltage Dashboard. ",
        "children": []
      }
    ],
    "bodyDataParameters": [
      {
        "name": "amount",
        "kind": "required",
        "type": "integer",
        "description": "Amount of satoshis you want to swap",
        "": "amount"
      },
      {
        "name": "address",
        "kind": "required",
        "type": "string",
        "description": "The onchain address you want to send to funds to",
        "": "address"
      },
      {
        "name": "network",
        "kind": "required",
        "type": "string",
        "description": "The network you are using. Can be 'mutinynet' or 'mainnet'",
        "": "network"
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "autoGeneratedAnchorSlug": "swap-from-lightning-to-onchain",
  "legacyHash": "NUFtA7mhCEQ3tkjIxUJah"
}
```
:::

