# Permanently delete an issue

Erases the issue row for good, and only this row: a sub-issue still sitting in Recently Deleted is untouched and stays independently restorable or purgeable. Comments cascade for real here, and the issue's attachments are marked for the sweeper to reclaim their files - this is the first point the issue is genuinely gone. Only valid on an issue already in Recently Deleted; anything else, including a live issue, is a 404.

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

{/* 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}/permanent","method":"delete"}]} />
    </>
  );
}
