> For the complete documentation index, see [llms.txt](https://compassly.gitbook.io/compassly-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://compassly.gitbook.io/compassly-docs/core-modules/files/edit-a-file.md).

# Edit a File

**Audience:** Super Admin, Admin, Supervisor, Clinician\
**Page type:** Task guide\
**Owner:** Product / Training / Support\
**Status:** Draft\
**Last verified:** 2026-04-03

## Before you start

* You must have permission to edit files.
* You must be on the **Files** page.
* The file must support editing from the **Action** menu.

## Steps

1. On the **Files** page, find the file you want to update.
2. Open the **Action** menu for that row.
3. Select **Edit file**.
4. On the **Edit file** page, update the fields you need to change.
5. Review the client assignment if needed.
6. Select **Update**.

## What you can edit

The current edit screen shows these fields:

* **File name**
* **Clients**
* the attached file or link record

If the file record is a different type, the fields can change based on whether it is a file upload or a link.

## Role differences

* **Super Admin / Admin / Supervisor / Clinician:** Can edit files when edit access is available for that row.
* **Basic:** Cannot edit files.

## What happens next

After you save, Compassly keeps you on the edit page and shows the updated file information. You can return to the file list when you are done.

## Related guides

* [View the Files Repository](/compassly-docs/core-modules/files/view-files-repository.md)
* [Add a New File](/compassly-docs/core-modules/files/add-a-new-file.md)
* [Delete a File](/compassly-docs/core-modules/files/delete-a-file.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://compassly.gitbook.io/compassly-docs/core-modules/files/edit-a-file.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
