# Reject a week and reopen it

Team workspaces only, owner or admin. Submitted or approved weeks can be rejected, except an approved week with any invoiced or paid time, which is 409. note is required. The member can edit that week and submit it again.

Canonical: https://easerix.com/docs/developers/api/croncrunch/timesheets/rejectTimesheet

{/* 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/timesheets/{id}/reject","method":"post"}]} />
    </>
  );
}
