---
title: List Databases (SQL Proxy)
slug: kron-pam-api-collection-3-9-0/list-databases-sql-proxy
docTags: 
createdAt: 2026-10-21T06:10:28.166Z
---

{
  "id": "erIS26HEVB0s6HIq1mvFr",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "{{url}}/aioc-rest-web/rest/sc/sqlproxy/listDatabases",
    "name": "",
    "description": "",
    "contentType": "application/json",
    "request": {
      "headerParameters": [],
      "queryParameters": [],
      "pathParameters": [
        {
          "name": "url",
          "description": "",
          "default": "url",
          "value": "url",
          "type": "string"
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "",
        "jsonExample": ""
      }
    ],
    "examples": {
      "languages": [
        {
          "id": "mXxEXxZ3L_x7-TbH0WeLf",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url {{url}}/aioc-rest-web/rest/sc/sqlproxy/listDatabases \\\n     --header 'accept: application/json'"
        },
        {
          "id": "P_mdkaQS3W0inIJ6uxOM7",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"{{url}}/aioc-rest-web/rest/sc/sqlproxy/listDatabases\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "ghh99n8XHjMT8gTlGGZyA",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"{{url}}/aioc-rest-web/rest/sc/sqlproxy/listDatabases\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "30qfiPeJPaN2bt4O76lrp",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"{{url}}/aioc-rest-web/rest/sc/sqlproxy/listDatabases\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "mXxEXxZ3L_x7-TbH0WeLf"
    },
    "results": {
      "languages": [
        {
          "id": "gqpFk4xJscn9gKOERzPYr",
          "language": "200",
          "code": ""
        }
      ],
      "selectedLanguageId": "gqpFk4xJscn9gKOERzPYr"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}