# Edit virtual file systems

Virtual file systems listed in **Setup** → **Virtual File Systems** can be edited or deleted using the menus available through the 3-dot icon on the right side of each entry:

* **EDIT** – Modify the configuration of the VFS.
* **DELETE** – Remove the VFS, if allowed.

#### When a **virtual file system** or virtual path cannot be deleted

Certain conditions prevent the deletion of a Virtual File System or its virtual paths. When one of these conditions applies, Data Mover displays a warning message explaining why the operation cannot proceed.

* **VFS or** virtual path **used in a VFS View**: a VFS or virtual path cannot be deleted if it is referenced by a **VFS View**. \
  A warning message will indicate that it is in use and will name the affected VFS View.
* **Virtual path used in a Connection Contract**: if a virtual path is referenced in one or more **Connection Contracts**, it cannot be removed from a VFS or a VFS View.\
  The warning message lists every Contract using that virtual path.
* **Virtual path linked to a Connection Contract**: a virtual path cannot be deleted from a View if it is associated with a **Connection Contract** built on that View. The warning message lists every  Connection Contracts using the virtual path.
* **Virtual paths linked to Contracts**: any virtual path that is linked to a Contract cannot be deleted.
* **Non‑empty virtual paths**: a virtual path containing one or more files cannot be deleted.
* **VFS containing files**: a VFS that has files stored in any of its virtual paths cannot be deleted.
* **VFS with virtual paths attached to Contracts or Connections**: a VFS cannot be deleted if one or more of its virtual paths are attached to a **Contract Connection** or to a **Contract**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-mover-1.21/virtual-file-systems/manage-virtual-file-systems/edit-virtual-file-systems.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
