---
id: upload-a-file-to-a-database-table
title: "Upload a file to a database table"
description: "Upload a file to a database table"
sidebar_label: "Upload a file to a database table"
hide_title: true
hide_table_of_contents: true
api: eJzFWW1v2zgS/isD4gAnONVOFrtAoUU/pGmLttdtgzrdHhAHXloa22woUktSTryG/vthhpIsvzTX9ks/JZJmhvPMPDMc0htRSicLDOi8SG82QhmRilKGpUiEkQXS051IhMO/K+UwF2lwFSbCZ0sspEg3IqxLklIm4AKdqOvbKI0+PLf5mkQyawKaQP8WlQ6qlC6M5tYVT3IZ2MjWXOlsiS4o9PQktUOZr6f4oHzgNznOZaWDSMVcKi0SkaPPnCqDsuT656UMECzkFtQcwhIhyJlGaAxBNAQyy7AMPgUykoDDUssME5BliSYXiUBTFSK9aRdpBEQiGonbpAXug1NmIepEZFZXhZkSpil9bPztu3dzOf4TrNHrW7iAXGX0Wro13KuwhKgPFHYP0uTkvnJA9oDtEaS1rcAg5gQyW0qzQEbZhMUP4eWDLEqNKWwGlUc3VfkgHSgTBvUQLpeY3cHVOiytgStpculBq5kjF+bWga/K0rqAeW9R8SjSr4Ik/18+ZKg7uFr5AHa+CzNQvvzSVjqHGUIpncccpAe23UNDz0lQBfogi1IkQgUsfI+AW++aF9I5ud5666fEgENvL+Bd4xjF8THnWP97FqYgzqm8psrk+HC49menAkInBixG6GXjyHAb/Zm1GqWJdtfTuXI+PEqwFy9Gf/xBaS1kiOFMgKrUGcm00zFHFRWcNI3g8fUwU4XU02wpncwCum/M+WUrT2R1mNmFUf8gZzdahNIqE4bwIrIXlIfBcHCMcTlqVaivLx0XvKYMdotWPpaJR2pyAWEldUVVZDjVpDZXGuEEh4thwjEvCpmAx0JlVluTgHXUP06Hx1wi3UNvyAW2GixUpbZMmSa2qQj4EEaZXx2zt0SZo5s6e/+N4f1o74Faq1RGmQVjijY8L+450juEPjmjEDN1QCuDxHpi3+kQ3qFcIWBRhnXTOR2SsLGNUXD2vheHrt8nglk7jQt9KzOiV1s3yXln70HLGWrfVmNXGQf+Gds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bCEhE0oZkI+Dff13gaRu/Q1I02wX92DPLEnE5M6ZQJJ63rQxI+OT3tB+OtXMkxM6sXkJ2XWwJY4wP04iDvpQowx5AtOQo/GoNNhFJgWNqcMBDF9uOTtmKwzx/C/VdLoU0M0jXH6K9kq9JnUIzUIYuidBvamc3XKbwdf3g/jHWu5uuTDdzhuhdnqE9JmsL9+8TEEPF83YZnL/iNkNU41HZxwufO3wXV6t4WE/f+bk4HuT3b8FxEMxsHjC4nradM8Y1lKg7ivSnv6jbklFBuPbH0K0f5Ppq2g1vFd/QZclyhtmWBJjRNjOkUDW1KZ4PNrK7T0WhDpup0Q6VUH1i7rHywRWsiESvpFOHyTd9lM7t3neRmb5psHumPFwcBfH19fQWdHbpZsO1VUWuvw3vg3Dh2Z/oWZ2gHb67ICGHZNXI0VI0+S9d8Gdx2aB5OI0ju0xsxY+a+ai9H3n6+Fs2Zjo8W/HU7/TPoOiHlqcO5Q7/8USN8OzC3h0P8uCrReexP171XxJ0otzqPIfGhkLxxNnfl38LdnRW7/ZRvhkotFZ+lmFObhtY3QpaKlj8X8U6R97NEpHwz3x01iAgx0zdisyGZT07XNb3+u0JHO+TtlmxcA7niISMX6Vxqjwe+ddOCOPnYDIWnsA3mrs/t9YFZM6fptiEVIqH+HH9FqG+7Wy5ePX7od6ee4rEfCqjaotIF39/3xA+GGWJe1yWoq4pEzJrfIwqbkw4ZZrvJ9l+aHhJBM24vNx2Jmn/I+aNoN5soEXtw3YHnfYvw1/X/AKqcxkE=
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={"Upload a file to a database table"}
>
</Heading>

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

</MethodEndpoint>



Upload a file to a database table

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

<ParamsDetails
  {...require("./upload-a-file-to-a-database-table.ParamsDetails.json")}
>

</ParamsDetails>

<RequestSchema
  {...require("./upload-a-file-to-a-database-table.RequestSchema.json")}
>

</RequestSchema>

<StatusCodes
  {...require("./upload-a-file-to-a-database-table.StatusCodes.json")}
>

</StatusCodes>
