--- title: "protectedpath delete-prefetch" slug: "protectedpath-delete-prefetch" tags: ["5.5"] updated: 2026-10-27T23:00:54Z published: 2026-10-27T23:00:54Z canonical: "docs.vastdata.com/protectedpath-delete-prefetch" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # protectedpath delete-prefetch This command is used to delete a prefetch task with various options. ## Usage ```plaintext vcli: admin> protectedpath delete-prefetch --id ID                                           --task-id TASK                                          [--stop-running-prefetch] ``` ## Required Parameters | `--id ID` | The Protected Path ID. | | --- | --- | | `--task-id` | The prefetch task ID. | ## Optional Parameters | `--stop-running-prefetch` | If true, stops the prefetch task (if running), in addition to deleting the record from the prefetch history. | | --- | --- | ## Example This example deletes a prefetch task from the prefetch history, while stopping the prefetch task (if it is still running): ```plaintext vcli: admin> protectedpath delete-prefetch --id 123 --task-id 456 --stop-running-prefetch ```