# Update a document

Rename, share (visibility), or set notarization on a draft. Sending a status is rejected with 400 — lifecycle transitions go through /send and /void so they stay audited. requiresNotarization/notaryState are draft-only (409 otherwise); notaryState must be a two-letter US state.

Canonical: https://easerix.com/docs/developers/api/sign/documents/updateDocument

{/* 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="sign" operations={[{"path":"/v1/documents/{id}","method":"patch"}]} />
    </>
  );
}
