---
title: package_patch
full: true
_openapi:
  method: PATCH
  toc: []
  structuredData:
    headings: []
    contents:
      - content: >
          Patch a dataset (package).


          The difference between the update and patch methods is that the patch
          will perform an update of the provided parameters, while leaving all
          other parameters unchanged, whereas the update methods deletes all
          parameters not explicitly provided in the data_dict.


          To partially update resources or other metadata not at the top level
          of a package use `package_revise()` instead to maintain existing
          nested values.


          You must be authorized to edit the dataset and the groups that it
          belongs to.
---

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Patch a dataset (package).

The difference between the update and patch methods is that the patch will perform an update of the provided parameters, while leaving all other parameters unchanged, whereas the update methods deletes all parameters not explicitly provided in the data_dict.

To partially update resources or other metadata not at the top level of a package use `package_revise()` instead to maintain existing nested values.

You must be authorized to edit the dataset and the groups that it belongs to.


<APIPage document={"./lib/openapi.yml"} operations={[{"path":"package_patch","method":"patch"}]} />