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

# Settings

Turn the Code module off for a project, and on again.

**Where:** Code → **Settings** → **Disable module** · `/projects/<project>/code/settings`

## Before you start

* The module is on — see [Enable the module](/codemash/cloud/code.md#enable-the-module).
* You need a project role that can manage modules (for example **Owner** or **Administrator**).

## Steps

1. Open **Code → Settings**. The only panel is **Disable code module**.

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-6921617189c180eea09c026ded38edf425ffcaaa%2Fsettings-1.png?alt=media" alt="Code Settings with the panel Disable code module and the red Disable module button"><figcaption><p>Code → Settings.</p></figcaption></figure>
2. Press **Disable module**. The dialog **Disable this module?** says *Are you sure? The module and all the data that belongs to it will be deleted. This cannot be undone.*

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-617eb3e30803cdb948035af7045fabd28d4c1bcb%2Fsettings-2.png?alt=media" alt="The dialog Disable this module? with the buttons Disable module and Cancel"><figcaption><p>The confirmation dialog.</p></figcaption></figure>
3. Press **Disable module** in the dialog. Cloud goes back to the **Norbix Code** enable page.

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-a80563083318e485d281c78ffa10769fe610bf23%2Fenable-1.png?alt=media" alt="The Norbix Code enable page shown after the module was turned off"><figcaption><p>The module is off.</p></figcaption></figure>

## Result

The Code menu is gone and every Code page shows the enable page. The project's providers and marketplace connections are not called while the module is off.

{% hint style="info" %}
The dialog says the data is deleted, but disabling never deletes data — that is by design; it is kept and comes back after **ENABLE** (checked on a test project on 2026-10-06: the two provider integrations and the marketplace connection with its function were all back). Data is deleted only through the **Compliance** settings or by [deleting the project](/codemash/cloud/project/settings/termination.md). Functions in your own AWS, Azure or Google account are never touched.
{% endhint %}

## Change or remove it later

* **Enable again** — **Code → ENABLE**, see [Enable the module](/codemash/cloud/code.md#enable-the-module).
* Disable and enable is also the way back when Cloud shows the enable page after you delete a provider integration — see [Disable or delete an integration](/codemash/cloud/code/integrations/disable.md#result).

## Do it from code

```ts
await norbix.hub.code.disableCode();
await norbix.hub.code.enableCode();
```

```sh
norbix hub code disable --yes
```

`norbix hub code enable` turns it on again. The client setup is on the [Code page](/codemash/cloud/code.md#use-it-from-code). API: [Disable Code](/codemash/api-reference/code/module/disable-code.md) · [Enable Code](/codemash/api-reference/code/module/enable-code.md)
