---
title: Get Connector Site
slug: kron-pam-api-collection-3-9-0/get-connector-site
docTags: 
createdAt: 2026-10-21T06:10:28.166Z
---

{
  "id": "-7qGktDZVMEKoaeeECRZQ",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "{{url}}/aioc-rest-web/rest/tenantConnector/connectorSite/getAllSites",
    "name": "",
    "description": "<h3>Request Overview</h3>\n<p>This request is used to retrieve all existing connector sites within the Kron PAM system. Connector sites represent remote locations or data centers that need to establish secure connections with the central Kron PAM server. This request returns detailed information about each connector site, including the site name, description, node activity status, and associated connector nodes.</p>\n<p><strong>Response Details:</strong></p>\n<ul>\n<li>\n<p><code>dbId</code> (integer): The unique identifier of the site.</p>\n</li>\n<li>\n<p><code>siteName</code> (string): The name of the site.</p>\n</li>\n<li>\n<p><code>siteDescription</code> (string): A description of the site.</p>\n</li>\n<li>\n<p><code>isAnyNodeActive</code> (boolean): Indicates whether any connector nodes are active for this site.</p>\n</li>\n<li>\n<p><code>connectorNodeList</code> (array): A list of connector nodes associated with the site.</p>\n</li>\n</ul>",
    "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": [],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Get Connector Site",
        "jsonExample": "[\n    {\n        \"dbId\": 2215976,\n        \"siteName\": \"test\",\n        \"siteDescription\": \"change_test\",\n        \"isAnyNodeActive\": false,\n        \"connectorNodeList\": [],\n        \"pageForSearch\": 0\n    }\n]"
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "B9u0AITi9WiTKeNJo1Fy8",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url {{url}}/aioc-rest-web/rest/tenantConnector/connectorSite/getAllSites \\\n     --header 'accept: application/json' \\\n     --header 'x-xsrf-token: {{csrftoken}}'"
        },
        {
          "id": "wQdrxDyOxVbn2PT3pKGUo",
          "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 requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"{{url}}/aioc-rest-web/rest/tenantConnector/connectorSite/getAllSites\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "0Cf1_MSTFwRKMgozzryip",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"{{url}}/aioc-rest-web/rest/tenantConnector/connectorSite/getAllSites\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest[\"x-xsrf-token\"] = \"{{csrftoken}}\"\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "SnYVvukhEJf_wbqze4KwD",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"{{url}}/aioc-rest-web/rest/tenantConnector/connectorSite/getAllSites\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json',\n   'x-xsrf-token': '{{csrftoken}}'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "B9u0AITi9WiTKeNJo1Fy8"
    },
    "results": {
      "languages": [
        {
          "id": "VQ83l9JOZiX7JhRNEB2Tg",
          "language": "200",
          "code": "[\n    {\n        \"dbId\": 2215976,\n        \"siteName\": \"test\",\n        \"siteDescription\": \"change_test\",\n        \"isAnyNodeActive\": false,\n        \"connectorNodeList\": [],\n        \"pageForSearch\": 0\n    }\n]"
        }
      ],
      "selectedLanguageId": "VQ83l9JOZiX7JhRNEB2Tg"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}