---
id: test-a-database-connection
title: "Test a database connection"
description: "Test a database connection"
sidebar_label: "Test a database connection"
hide_title: true
hide_table_of_contents: true
api: eJzdWetv2zgS/1cGvAPa4lQ7yXX3Cm0aIEm7aPZy24fTvQPqQEtLY4sNRaokZUdn6H8/DClZ8qOPbT8scN9skjOc+c2bWjODHyu07kJnNYvXLNXKoXL0k5elFCl3QqvxB6sVrdk0x4LTr9LoEo0TaFuyuVhUxp9OCnS5zmg9wzmvpGMxsx8ll0RdJ3NtChaxDG1qREkULGaXBziAsFBZzEArcDnC3HjpMnAahCI2fnnG0ztaXeXocjS0i/el1BlCyQ0v0KGxoP1GafRSZAhayRo4DKSqjBixiKGqCha/PyRvrXgh0vD3tolYxh2fcYuJ4gUGbYcanUN3AOiAFzpD5cS8BpcLC6lWClM6TRcX/P4a1cLlLD754ShihVDd/+OIqUpKPpPIYmcqjJirSyRUnRFqwUgYI5Zo9qWYvLk+D3pAOEJyVBbZV/BEtRDqgGYDnuHIH+F57wzfZ3lanv0yefUrhIMEjeNC0U9PAFsOBiixQOXs6HRmzo5HcJMjnKY6w7MgT+Ltbk/Hfg307AOmDhboLFSqJHfJQCinvfuccsgNzp9NWe5caePxONOpHfUOMNJmMUY1ltyhdeNUGxyHe+wod4X8y+BoapA7TML2lIFB+WzKlNYlKjSgtME5GoNmys4+RXY65meQcikjWOVCYpDSq1Kg4+RVOwp+r2YGZXKcHAXVujv2dAvBP/oXOv6cO/712nUUG8W83U6GdtsolvI0x8SJAnXlOv2EBQ5+B9odsOgcuYdQYDHVKrMw1wY6PjBHl+ag5yHUukgcwaTElCJQOOAWTq0zWi3OpuywAFMWw3rapr39rR+PjiKYMkcef3C3OR23N4zgag6VsuiiVpOVkBKUdjBDQEUsMq+Cz3SV8omBS+HqEZxv1NZzOAKhMkrMaMHl3HmCwFIhBTjel8JgCI6/D0EOatiES6lXmFEmS+ZCYlKVUvNsG21dFBwskqM5zEAK629veYSbLye/WeAGoeXo84DnBU5/GusvyEHYvZ+ysppJ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cLir9/35CN/DGazP1uP/d5pZuIiBODc4M2/1YmxMVq9bb//PaiL2L/n/2qn5+OhiPP4KbhpHNwOTlEtjvX7O0ElzkaTi/DToLmygMzXUWA4XAMGSy1b7csZsvj4JXWFdx3M+0Fn80dW1dtuhuH925cSi58e+vjed2mlfeMl4LuPWb9JEOibScXFjGKwxBo79l6TcfeGdk0tExvW9Sy3Pax7huXiIX07vNRAH+YqH1qkBVJuNe9UeIJFOdpir5iffrs7SBpUnVhEZu1n5wLnRGN4SuaVviKxYxFTHuEfKj6tVA3q9DaBZ5kQF65fADjJtbaH6RVu8VVPZBwvQ4nQp2iBBlU8SWeNbdN0/wP84b6ug==
sidebar_class_name: "post api-method"
info_path: developer-docs/api/superset
custom_edit_url: null
hide_send_button: true
show_extensions: true
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";
import Translate from "@docusaurus/Translate";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Test a database connection"}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/api/v1/database/test_connection/"}
  context={"endpoint"}
>

</MethodEndpoint>



Test a database connection

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails>

</ParamsDetails>

<RequestSchema
  {...require("./test-a-database-connection.RequestSchema.json")}
>

</RequestSchema>

<StatusCodes
  {...require("./test-a-database-connection.StatusCodes.json")}
>

</StatusCodes>
