---
title: package_patch
full: true
_openapi:
  preload:
    - ./lib/openapi.yml
  method: PATCH
  webhook: false
  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. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="./lib/openapi.yml" operations={[{"path":"package_patch","method":"patch"}]} showDescription />
    </>
  );
}