---
title: package_relationship_update
full: true
_openapi:
  preload:
    - ./lib/openapi.yml
  method: PUT
  webhook: false
  toc: []
  structuredData:
    headings: []
    contents:
      - content: >
          Update a relationship between two datasets (packages).


          The subject, object and type parameters are required to identify the
          relationship. Only the comment can be updated.


          You must be authorized to edit both the subject and the object
          datasets.
---

{/* 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_relationship_update","method":"put"}]} showDescription />
    </>
  );
}