--- title: "Remove-FileReference" slug: "scripting-remove-filereference" updated: 2026-01-21T14:28:40Z published: 2026-01-21T14:28:40Z canonical: "help.agilityblue.com/scripting-remove-filereference" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.agilityblue.com/llms.txt > Use this file to discover all available pages before exploring further. # Remove-FileReference > [!WARNING] > Warning! > > Deleting a file reference object will also delete the associated file. ## Summary Deletes an existing file reference. ```powershell Remove-FileReference    -Id ``` Returns nothing. ## Parameters | Parameter | Type | Required? | Notes | | --- | --- | --- | --- | | Id | String | Yes | The file reference id. | ## Examples ### Delete an existing file reference ```powershell Remove-FileReference -Id "10d210ae2c484efcb8ce6d57a9d22f1a" ```