---
id: re-sync-all-permissions-for-a-database-connection
title: "Re-sync all permissions for a database connection"
description: "Re-sync all permissions for a database connection"
sidebar_label: "Re-sync all permissions for a database connection"
hide_title: true
hide_table_of_contents: true
api: eJzFV99P3DgQ/ldGo3sAXWDh1JNQqj5Q2qpwFSB20Z1EEDXJLGtIbNd2tmyj/O+nsZOwv+4e2geeNnFmxvN9/mY826ARVlTkyTpMbxosyOVWGi+1whQnM4JCeHEvHEGulaKcv8DpB0xQsoURfoYJKlERvz1hgpa+1dJSgam3NSXo8hlVAtMG/cKwlVSeHshi296ytTNaOXJs8MfBAf/kWnlSnh+FMaXMBe86enScVLMU0FhtyHoZvStyTjzQ0k7OW6kesG2TfkXfP1LusU2QnkVlSlpxfHFok3UqhHuC3JLwVIDX4BYqB0O2ks5Jrdw+x3zz2vm/FwUw/+R8CqdqLkpZwMsRg7F6LgsqtiFc8o1YDl8Xy7UStZ9pK39QkcJx7WekfLc/DCLbAmTZMSJ587pIzrWHqa5VkQJXVEcyMd1O1zYnKDQ5UNoDPUumfxPUEIN3+fO1dXaqPFklSnBk52SBrNU2hWMFtaJnQzmjC4ug87y2/3FSn4QXZbQLmzvKayv9IrSix+8e05tbbhJePHB7wg9dL8LbBJ/3cl3QOCQXe1cp1AOmmF9ffcEES3FP5ctrJJrfa1vC3j9weTGeQIYz7006GpU6F+VMO58eHRwdjYSRo/nhqO99o8MR1/vdUr2PMoQsyxTA3mfI8LhTXDiBFN6TsGTht+OTk4/j8d3k4q+P5xlimwxZXi78TKulPIeFIVNZGW19LxeXqUz13RLeDcv7Rju/w4nAr8FJYowZiYKse9esgcowhQw7YBnC7yDynJy78/qJVNt5s/bY9YkW0WEuypoybDO1myljpfI7PYh9Nt7Z3V2m5UzMxTgoZImalcWXg9TKMTsDI+K7kB6m5PNZ4OPX2WgiqIr8TBeMhkWzzlTam8G6DpiBr70UmkjXJLD1NXlxOYlVvDdZGIqcrRdzhtG6J/leF4sUzsYX5/uxcuV0sdPAEy2WGId2l62Z+LeZimQx5IGotWPojHRJ+6V+2GHT3bfI1bdas1e0F+4+UZbL9x9MtQWxbVrABCOBPCBox2cYpoYUN06iMU/t5mHwoYc2E8u8tqyJrUeL68l+4c9Q0JxKbSpSvmtYQXIxUGOs9jrXZZuORg2HatOGC6/diHZSO6+rPkSCc2GluC9jV+3D8HNBU1GXvksTEyRVV9zAulf+cbhB7efJ5BKGOG2CnM1qvAHvRnLj2In5G09joC2cXnIQxrIaZCtVnX+wbsNo1nfjMd8jEWToyQ3eB01/0rYSHO/s7wl2cx4XZvyKw10SQLcJO99Zmlpys58N0vLYOdURzkr2tSHriGnx0vN1tbzE2ol288NIifOVCJdkN7n+jKpXMhjuUk/PfmRKIRXvFDTWdIK/QWEkp3PI3v1dlmAa5uZ13WOCLJGogRtsGra+tmXb8vK3mizfk7cvMowDvHT8XGA6FaWjjSyHmQF3rroZahf+d87fiqtbFGoR6qCs+Q0T7vvxf0B7y/oNHTLkFT8c5zmFLt67bMwtLLyhXXC7xQR5nFtieJBG98Dht+bTNNEi9tx2SC/cWJxh2/4L4O96DQ==
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={"Re-sync all permissions for a database connection"}
>
</Heading>

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

</MethodEndpoint>



Re-sync all permissions for a database connection

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

<ParamsDetails
  {...require("./re-sync-all-permissions-for-a-database-connection.ParamsDetails.json")}
>

</ParamsDetails>

<RequestSchema
  {...require("./re-sync-all-permissions-for-a-database-connection.RequestSchema.json")}
>

</RequestSchema>

<StatusCodes
  {...require("./re-sync-all-permissions-for-a-database-connection.StatusCodes.json")}
>

</StatusCodes>
