---
id: delete-a-database
title: 'Delete a database'
description: 'Delete a database'
sidebar_label: 'Delete a database'
hide_title: true
hide_table_of_contents: true
api: eJzFVttu3DYQ/RViUKA2KnvtNAUMBXlwHRtJaqRGdt0LLMPhSrMWbYlkyNHGrqB/L4bUaq99SF/8JGnEmTlnZnjIFqx0skZC5yG9aUFpSMFKKiEBLWvkr0dIwOHXRjksICXXYAI+L7GWkLZAz5ZXKU14jw667pZXe2u0R88LXh0d8SM3mlATv0prK5VLUkaPHrzRbFsGtM5YdKSid43ey3tcyeTJKX0PXZcsLGb6gDlBlwA+ydpWuOa4dOgSKNDnTllODSm8kySn0qMosELCgkO8Pjp+WbjXWjZUGqf+wSIVpw2VqKnPL4Y+7GCz6hiZ/PyyTC6Mm6qiQJ2Kv00jCqN/JFHKOQqLrlbeMyMyQuY5ei+oVF449KZxOe4iOMSL7F6/LLtPhsTMNLpIxaTE0Bn0hMVAQRQGvdCGBD4pT7sYDTECo1evXnryrDPcCjmtUPDU0XMq/pCVKuL0oXPG7eJxZpqqCFT7CL03p/rlpff/B03otKyERzdHF1mk4lSLRuOTxZybFozC5Hnj/mN7XUiS1VCCBDzmjWOOrJsP3wjSm1sWP5L3rKWDuMBtAk8HuSlwHMBFoa2kvocU8uvPl5BAJadYLT/7LZBC3rhKHPwl3p1fnk/ORQYlkU1Ho8rksiqNp/Tk6ORkJK0azY9HRZ9xdJyByLJMC3HwXmRw2stCqHgqfkXp0IkfTs/Ozsfju8nvv51/ygC6ZEB19Uyl0Su4BsOATNXWOFpMvc90pheqL94O5sMorHsMRXwP/CR6lCgLdP5tu0Eig1Rk0BPJQPzUa8gdmUfUXab3M22d0rS3AHXoSVLj77gP+6tcP8q5HIc2r/BdMy67YbRnygNN+U0qEjOkvAwUv5dgG1nWSKUpmFHs8yb9dLFQbDaT6/Bl0c821mASSvAlenT84Hq8yTTDNxUeVuZ+syz7b4BHd+N0DL0TUixwQwIRKqQQGwtJvCyksMWxtY8dFy/suTjzjePa7iwRbCa/5N+iwDlWxtaoqd+9oXUxUGudIZObqktHo5ZDdWnLU9ltRTtrPJl6ESKBuXSKRc73ghPC8HuBM9lU1MOEBFA3Ne/m/pMfHrZK9X4yuRJDnC4BRrMeb+C7BW4cZYn/8ZVLGCc+XHEQ5rIeZGepev+wugv3r4U0jVlUI8kgUC1Mw6xcGFdLjvfxzwn0lzke8PgXBmENpLuEne8czhz68v8G6RJQemYinTX0jUXnkctCili7V008O3Hd/DiWxFMtw4nRX093TelahuHgIHyika2kCveHMENtP743IK3idMfsvQyU2kduduzmDbQt269d1XVs/tqgY/m/XQ5UmPNChRO0gHQmK49beIajEPY+9/e5fbEs2DrO3ij1c5jbquEvSOARn+PlvLvleQtKEbLHH6d5jkG9Fi5bhy4PyrCdo/BAAnyFXKnZ0Mz+hRPsRNS2cUVUn24AGASZMXbdv7guRZ4=
sidebar_class_name: 'delete 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={'Delete a database'}
></Heading>

<MethodEndpoint
  method={"delete"}
  path={"/api/v1/database/{pk}"}
  context={"endpoint"}
>

</MethodEndpoint>

Delete a database

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

<ParamsDetails
  {...require("./delete-a-database.ParamsDetails.json")}
>

</ParamsDetails>

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

</RequestSchema>

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

</StatusCodes>
