# Edit or archive a task

Owner-only. Send billable or hourlyRate as null to clear that override. Omit a field to leave it. archived hides the task from pickers. Existing entries keep the link, and the task can be chosen again after it is unarchived. There is no delete: archiving is how a task leaves the picker without breaking reports.

Canonical: https://easerix.com/docs/developers/api/croncrunch/tasks/updateProjectTask

{/* 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/projects/{id}/tasks/{taskId}","method":"patch"}]} />
    </>
  );
}
