# Stop the timer

Stops the running entry and returns it finalized, or entry null when nothing was running. An optional endedAt backdates the stop (clamped to the entry's start, rejected if in the future) so clients can discard trailing idle time.

Canonical: https://easerix.com/docs/developers/api/croncrunch/timer/stopTimer

{/* 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="croncrunch" operations={[{"path":"/v1/timer/stop","method":"post"}]} />
    </>
  );
}
