---
title: Edit Connector Node
slug: kron-pam-api-collection-381-patch3/edit-connector-node
docTags: 
createdAt: 2026-10-21T06:07:16.182Z
---

{
  "id": "a0zJc5rtYffARtZbuIrms",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "{{url}}/aioc-rest-web/rest/tenantConnector/connectorNode/editNode",
    "name": "",
    "description": "<h3>Request Overview</h3>\n<p>This request is used to edit the configuration of an existing connector node within the Kron PAM system. Connector nodes represent individual connection points within a connector site, facilitating secure communication between the remote data center and the central Kron PAM server. Editing a connector node allows administrators to update the node's configuration, including its network settings, associated connector site, and VPN details.</p>",
    "contentType": "application/json",
    "request": {
      "headerParameters": [
        {
          "name": "X-XSRF-TOKEN",
          "description": "",
          "default": "{{csrftoken}}",
          "value": "{{csrftoken}}",
          "type": "string"
        }
      ],
      "queryParameters": [],
      "pathParameters": [
        {
          "name": "url",
          "description": "",
          "default": "url",
          "value": "url",
          "type": "string"
        }
      ],
      "bodyDataParameters": [
        {
          "name": "body",
          "description": "",
          "default": "{\r\n    \"dbId\": 2216211,\r\n    \"nodeName\": \"Test Node\",\r\n    \"subnet\": \"192.168.0.0/28\",\r\n    \"tunnelPort\": null,\r\n    \"connectionPort\": null,\r\n    \"externalIp\": null,\r\n    \"internalIp\": \"192.168.0.3\",\r\n    \"sshKey\": null,\r\n    \"connectorSite\": {\r\n        \"dbId\": 2215976,\r\n        \"siteName\": \"test\",\r\n        \"siteDescription\": \"change_test\",\r\n        \"isAnyNodeActive\": false,\r\n        \"connectorNodeList\": null,\r\n        \"pageForSearch\": 0\r\n    },\r\n    \"instanceName\": null,\r\n    \"tunnelStatus\": \"other\",\r\n    \"heartbeat\": null,\r\n    \"clientId\": \"e609864c-bb9f-4d90-966c-5ed4cac32a77\",\r\n    \"vpnUsername\": \"efe.basol@krontech.com\",\r\n    \"vpnPassword\": null,\r\n    \"vpnConfig\": \"efe.basol@krontech.com\",\r\n    \"connectorType\": \"openvpn\",\r\n    \"pageForSearch\": 0,\r\n    \"instanceNameTunnelStatusPair\": [\r\n        {\r\n            \"instanceName\": \"arift\",\r\n            \"tunnelStatus\": \"waiting_client_setup\"\r\n        }\r\n    ]\r\n}",
          "value": "{\r\n    \"dbId\": 2216211,\r\n    \"nodeName\": \"Test Node\",\r\n    \"subnet\": \"192.168.0.0/28\",\r\n    \"tunnelPort\": null,\r\n    \"connectionPort\": null,\r\n    \"externalIp\": null,\r\n    \"internalIp\": \"192.168.0.3\",\r\n    \"sshKey\": null,\r\n    \"connectorSite\": {\r\n        \"dbId\": 2215976,\r\n        \"siteName\": \"test\",\r\n        \"siteDescription\": \"change_test\",\r\n        \"isAnyNodeActive\": false,\r\n        \"connectorNodeList\": null,\r\n        \"pageForSearch\": 0\r\n    },\r\n    \"instanceName\": null,\r\n    \"tunnelStatus\": \"other\",\r\n    \"heartbeat\": null,\r\n    \"clientId\": \"e609864c-bb9f-4d90-966c-5ed4cac32a77\",\r\n    \"vpnUsername\": \"efe.basol@krontech.com\",\r\n    \"vpnPassword\": null,\r\n    \"vpnConfig\": \"efe.basol@krontech.com\",\r\n    \"connectorType\": \"openvpn\",\r\n    \"pageForSearch\": 0,\r\n    \"instanceNameTunnelStatusPair\": [\r\n        {\r\n            \"instanceName\": \"arift\",\r\n            \"tunnelStatus\": \"waiting_client_setup\"\r\n        }\r\n    ]\r\n}",
          "type": "object"
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Edit Connector Node",
        "jsonExample": ""
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "eep60Lo-VV41iO45NojqC",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url {{url}}/aioc-rest-web/rest/tenantConnector/connectorNode/editNode \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --header 'x-xsrf-token: {{csrftoken}}' \\\n     --data-raw '\"{\\r\\n    \\\"dbId\\\": 2216211,\\r\\n    \\\"nodeName\\\": \\\"Test Node\\\",\\r\\n    \\\"subnet\\\": \\\"192.168.0.0/28\\\",\\r\\n    \\\"tunnelPort\\\": null,\\r\\n    \\\"connectionPort\\\": null,\\r\\n    \\\"externalIp\\\": null,\\r\\n    \\\"internalIp\\\": \\\"192.168.0.3\\\",\\r\\n    \\\"sshKey\\\": null,\\r\\n    \\\"connectorSite\\\": {\\r\\n        \\\"dbId\\\": 2215976,\\r\\n        \\\"siteName\\\": \\\"test\\\",\\r\\n        \\\"siteDescription\\\": \\\"change_test\\\",\\r\\n        \\\"isAnyNodeActive\\\": false,\\r\\n        \\\"connectorNodeList\\\": null,\\r\\n        \\\"pageForSearch\\\": 0\\r\\n    },\\r\\n    \\\"instanceName\\\": null,\\r\\n    \\\"tunnelStatus\\\": \\\"other\\\",\\r\\n    \\\"heartbeat\\\": null,\\r\\n    \\\"clientId\\\": \\\"e609864c-bb9f-4d90-966c-5ed4cac32a77\\\",\\r\\n    \\\"vpnUsername\\\": \\\"efe.basol@krontech.com\\\",\\r\\n    \\\"vpnPassword\\\": null,\\r\\n    \\\"vpnConfig\\\": \\\"efe.basol@krontech.com\\\",\\r\\n    \\\"connectorType\\\": \\\"openvpn\\\",\\r\\n    \\\"pageForSearch\\\": 0,\\r\\n    \\\"instanceNameTunnelStatusPair\\\": [\\r\\n        {\\r\\n            \\\"instanceName\\\": \\\"arift\\\",\\r\\n            \\\"tunnelStatus\\\": \\\"waiting_client_setup\\\"\\r\\n        }\\r\\n    ]\\r\\n}\"'"
        },
        {
          "id": "6q728LC5EJhMkGTlup4P4",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\nmyHeaders.append(\"x-xsrf-token\", \"{{csrftoken}}\");\n\nvar raw = JSON.stringify(\"{\\r\\n    \\\"dbId\\\": 2216211,\\r\\n    \\\"nodeName\\\": \\\"Test Node\\\",\\r\\n    \\\"subnet\\\": \\\"192.168.0.0/28\\\",\\r\\n    \\\"tunnelPort\\\": null,\\r\\n    \\\"connectionPort\\\": null,\\r\\n    \\\"externalIp\\\": null,\\r\\n    \\\"internalIp\\\": \\\"192.168.0.3\\\",\\r\\n    \\\"sshKey\\\": null,\\r\\n    \\\"connectorSite\\\": {\\r\\n        \\\"dbId\\\": 2215976,\\r\\n        \\\"siteName\\\": \\\"test\\\",\\r\\n        \\\"siteDescription\\\": \\\"change_test\\\",\\r\\n        \\\"isAnyNodeActive\\\": false,\\r\\n        \\\"connectorNodeList\\\": null,\\r\\n        \\\"pageForSearch\\\": 0\\r\\n    },\\r\\n    \\\"instanceName\\\": null,\\r\\n    \\\"tunnelStatus\\\": \\\"other\\\",\\r\\n    \\\"heartbeat\\\": null,\\r\\n    \\\"clientId\\\": \\\"e609864c-bb9f-4d90-966c-5ed4cac32a77\\\",\\r\\n    \\\"vpnUsername\\\": \\\"efe.basol@krontech.com\\\",\\r\\n    \\\"vpnPassword\\\": null,\\r\\n    \\\"vpnConfig\\\": \\\"efe.basol@krontech.com\\\",\\r\\n    \\\"connectorType\\\": \\\"openvpn\\\",\\r\\n    \\\"pageForSearch\\\": 0,\\r\\n    \\\"instanceNameTunnelStatusPair\\\": [\\r\\n        {\\r\\n            \\\"instanceName\\\": \\\"arift\\\",\\r\\n            \\\"tunnelStatus\\\": \\\"waiting_client_setup\\\"\\r\\n        }\\r\\n    ]\\r\\n}\");\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"{{url}}/aioc-rest-web/rest/tenantConnector/connectorNode/editNode\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "R3NUTov9MTwHXX3Kk7gY_",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"{{url}}/aioc-rest-web/rest/tenantConnector/connectorNode/editNode\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest[\"x-xsrf-token\"] = \"{{csrftoken}}\"\nrequest.body = JSON.dump(\"{\\r\\n    \\\"dbId\\\": 2216211,\\r\\n    \\\"nodeName\\\": \\\"Test Node\\\",\\r\\n    \\\"subnet\\\": \\\"192.168.0.0/28\\\",\\r\\n    \\\"tunnelPort\\\": null,\\r\\n    \\\"connectionPort\\\": null,\\r\\n    \\\"externalIp\\\": null,\\r\\n    \\\"internalIp\\\": \\\"192.168.0.3\\\",\\r\\n    \\\"sshKey\\\": null,\\r\\n    \\\"connectorSite\\\": {\\r\\n        \\\"dbId\\\": 2215976,\\r\\n        \\\"siteName\\\": \\\"test\\\",\\r\\n        \\\"siteDescription\\\": \\\"change_test\\\",\\r\\n        \\\"isAnyNodeActive\\\": false,\\r\\n        \\\"connectorNodeList\\\": null,\\r\\n        \\\"pageForSearch\\\": 0\\r\\n    },\\r\\n    \\\"instanceName\\\": null,\\r\\n    \\\"tunnelStatus\\\": \\\"other\\\",\\r\\n    \\\"heartbeat\\\": null,\\r\\n    \\\"clientId\\\": \\\"e609864c-bb9f-4d90-966c-5ed4cac32a77\\\",\\r\\n    \\\"vpnUsername\\\": \\\"efe.basol@krontech.com\\\",\\r\\n    \\\"vpnPassword\\\": null,\\r\\n    \\\"vpnConfig\\\": \\\"efe.basol@krontech.com\\\",\\r\\n    \\\"connectorType\\\": \\\"openvpn\\\",\\r\\n    \\\"pageForSearch\\\": 0,\\r\\n    \\\"instanceNameTunnelStatusPair\\\": [\\r\\n        {\\r\\n            \\\"instanceName\\\": \\\"arift\\\",\\r\\n            \\\"tunnelStatus\\\": \\\"waiting_client_setup\\\"\\r\\n        }\\r\\n    ]\\r\\n}\")\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "xrH8eX4qCiomdBahl-J0s",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"{{url}}/aioc-rest-web/rest/tenantConnector/connectorNode/editNode\"\n\npayload = json.dumps(\"{\\r\\n    \\\"dbId\\\": 2216211,\\r\\n    \\\"nodeName\\\": \\\"Test Node\\\",\\r\\n    \\\"subnet\\\": \\\"192.168.0.0/28\\\",\\r\\n    \\\"tunnelPort\\\": null,\\r\\n    \\\"connectionPort\\\": null,\\r\\n    \\\"externalIp\\\": null,\\r\\n    \\\"internalIp\\\": \\\"192.168.0.3\\\",\\r\\n    \\\"sshKey\\\": null,\\r\\n    \\\"connectorSite\\\": {\\r\\n        \\\"dbId\\\": 2215976,\\r\\n        \\\"siteName\\\": \\\"test\\\",\\r\\n        \\\"siteDescription\\\": \\\"change_test\\\",\\r\\n        \\\"isAnyNodeActive\\\": false,\\r\\n        \\\"connectorNodeList\\\": null,\\r\\n        \\\"pageForSearch\\\": 0\\r\\n    },\\r\\n    \\\"instanceName\\\": null,\\r\\n    \\\"tunnelStatus\\\": \\\"other\\\",\\r\\n    \\\"heartbeat\\\": null,\\r\\n    \\\"clientId\\\": \\\"e609864c-bb9f-4d90-966c-5ed4cac32a77\\\",\\r\\n    \\\"vpnUsername\\\": \\\"efe.basol@krontech.com\\\",\\r\\n    \\\"vpnPassword\\\": null,\\r\\n    \\\"vpnConfig\\\": \\\"efe.basol@krontech.com\\\",\\r\\n    \\\"connectorType\\\": \\\"openvpn\\\",\\r\\n    \\\"pageForSearch\\\": 0,\\r\\n    \\\"instanceNameTunnelStatusPair\\\": [\\r\\n        {\\r\\n            \\\"instanceName\\\": \\\"arift\\\",\\r\\n            \\\"tunnelStatus\\\": \\\"waiting_client_setup\\\"\\r\\n        }\\r\\n    ]\\r\\n}\")\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json',\n   'x-xsrf-token': '{{csrftoken}}'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "eep60Lo-VV41iO45NojqC"
    },
    "results": {
      "languages": [
        {
          "id": "0RhcUWaL0c4jiv2ok3QXr",
          "language": "200",
          "code": "// Edit Connector Node\n"
        }
      ],
      "selectedLanguageId": "0RhcUWaL0c4jiv2ok3QXr"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}