# Update a cycle

Partial update. Omitted fields keep their stored value — in particular an omitted number does NOT renumber the cycle. Send an empty string for startsAt/endsAt to clear the date; an unparseable date is a 400, not a silent null. endsAt must fall on or after startsAt once the patch is merged with the stored row. A name another cycle in the same team already uses is a 409; "" clears the name and never collides. A cycle's team is immutable, so teamId is not accepted. Cycles in another org read as 404.

Canonical: https://easerix.com/docs/developers/api/tasks/cycles/updateCycle

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