# Restore a deleted issue

Moves a soft-deleted issue out of Recently Deleted together with its whole sub-issue subtree, unconditionally - including a sub-issue that was deleted separately beforehand, so restore is the exact mirror of the delete it undoes. An issue that is not soft-deleted is a 404, as is one in a team the caller is not in.

Canonical: https://easerix.com/docs/developers/api/tasks/issues/restoreIssue

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