> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/cloud/files/settings.md).

# Settings

Turn the Files module off for this project.

> The one switch that turns the Files module off again.

*Last updated 2026-09-11 · Applies to all projects*

**Where:** Files → Settings · `/projects/<project>/files/settings`

## Why it exists

Every module can be turned off, and Files is no exception. Turning it off hides the Files screens and closes the module for a project that no longer needs file storage. Storage behaviour itself is not configured here; that lives in [Integrations](/cloud/files/integrations.md).

## When you'd use it

* You enabled Files to try it out and want the project clean again.
* A project moved its file storage somewhere else and no longer uses the module.

## Where to find it

Files → **Settings**.

<figure><img src="https://760328771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LwSkuCpTNI_AerL8J2a%2Fuploads%2Fgit-blob-0aa5b0d1a64e19a37ba1c344c12cdf45dcd6e113%2Ffiles-settings.png?alt=media" alt="Files Settings — the Disable the Files module panel"><figcaption><p>Files → Settings.</p></figcaption></figure>

## How to set it up

You need the `files:manage` permission on `files:module:all`.

1. Go to **Files → Settings**. The page has a single panel, **Disable the Files module**.
2. Press the red **Disable module** button.
3. Confirm in the dialog that appears.
4. You are redirected to the module home (`/files`), which now shows the enable screen again.

**What "working" looks like:** `/files` shows the **Enable** screen instead of the Browser, and the Files entry no longer opens the browser or integrations pages.

You can enable the module again at any time from that screen — see [Files](/cloud/files.md).

## Good to know

* **Nothing is deleted.** Disabling sets the module to "off" on the project. Your files integrations and their saved settings stay, and re-enabling brings them back as they were.
* **Your file bytes are safe.** Everything in your own S3 bucket, Azure container, or Google Cloud bucket stays exactly where it is. Norbix does not touch your storage when the module goes off.
* **The on-screen warning overstates this.** The panel and its confirmation dialog say every integration and every file "will be deleted". They are wrong — see the note below — so do not rely on this button to erase customer data.
* The button asks you to confirm before it acts.

{% hint style="warning" %}
**Known wording bug.** The panel text and the confirmation dialog promise that disabling deletes your integrations and your files. Disabling only turns the module off. If you need data actually removed, delete the files in the [Browser](/cloud/files/browser.md) and delete the integration on the [Integrations](/cloud/files/integrations.md) page.
{% endhint %}

## Do it in code

{% tabs %}
{% tab title="JavaScript / TypeScript" %}

```ts
import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();

await norbix.hub.files.disableFiles({});
await norbix.hub.files.enableFiles({});
```

{% endtab %}

{% tab title=".NET" %}

```csharp
using Norbix.Sdk;

using var client = new NorbixClient();

await client.Files.DisableFilesAsync(new DisableFilesRequest());
await client.Files.EnableFilesAsync(new EnableFilesRequest());
```

{% endtab %}

{% tab title="Python" %}

```python
from norbix_python import NorbixHub

norbix = NorbixHub()

norbix.files.disable_files()
norbix.files.enable_files()
```

{% endtab %}

{% tab title="Go" %}

```go
c, _ := norbix.New(norbix.Options{})
ctx := context.Background()

var result map[string]any
_ = c.Hub.Files.DisableFiles(ctx, map[string]any{}, &result)
```

{% endtab %}
{% endtabs %}

**CLI:** the Norbix CLI covers files themselves (`norbix files list`, `info`, `download`, `upload`, `sign`, `delete`) but has no command for the module or its integrations. Use an SDK or the API for those.

Method pages: [Disable Files](/sdks-and-cli/files/module/disable-files.md) · [Enable Files](/sdks-and-cli/files/module/enable-files.md)

## API reference

Endpoints: [Disable Files](/api-reference/files/module/disable-files.md), [Enable Files](/api-reference/files/module/enable-files.md).

## Related

[Files](/cloud/files.md) · [Integrations](/cloud/files/integrations.md) · [Browser](/cloud/files/browser.md)
