# Replace the field set on a draft

The editor saves its whole canvas in one shot. Types, page range, fractional geometry, and recipient bindings are validated; field ids are regenerated.

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

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