> 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/files/integrations/disable.md).

# Disable or delete an integration

Disable a files integration, enable it again, or delete it.

**Where:** Files → Integrations → *integration* → **Actions** → **Disable** / **Delete** · `/projects/<project>/files/integrations/<integrationId>/edit`

## Before you start

* Deleting cannot be undone in Norbix: the integration and its saved secret are removed. The files in your storage stay there, but Norbix can no longer reach them.

## Steps

1. Open **Files → Integrations** and click the integration, for example `Invoices archive`.
2. To pause it, open **Actions** and choose **Disable**. The badge becomes **DISABLED** and the list shows **Enabled** `False`. **Actions** → **Enable** turns it on again.

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-0cfd7c1010f5cdaf5b028be474aa8868514bf84f%2Fdisable-1.png?alt=media" alt="Editing Azure Blob Storage integration Invoices archive, badges ENABLED and TEST FAILED, with the Actions menu open: Set as default, Disable, See Azure Blob Storage documentation, See SDK documentation, See API documentation, Delete"><figcaption><p>Actions → Disable.</p></figcaption></figure>

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-ad427c14a0eddcf1b872b222c61bfa0a9af50b91%2Fdisable-2.png?alt=media" alt="Files Integrations list: Invoices archive with Enabled False, Product images with DEFAULT"><figcaption><p>A disabled integration in the list.</p></figcaption></figure>
3. To remove it, open **Actions** and choose **Delete**. The dialog **Delete Confirmation** asks *Are you sure you want to delete?*; press **Delete**.

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-98689e07079f6ece965d9c55f4bc1570549a86f6%2Fdisable-3.png?alt=media" alt="Editing Google Drive integration Shared drive behind the dialog Delete Confirmation: Are you sure you want to delete? with Cancel and Delete"><figcaption><p>Deleting an integration.</p></figcaption></figure>

## Result

After **Delete**, the message **Success!** *Integration deleted* shows and Cloud goes back to the list without it.

<figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-83b8ee20a19064b64d661c0e467a9f08cf01a930%2Fdisable-4.png?alt=media" alt="Success! Integration deleted, over the Files Integrations list without Shared drive"><figcaption><p>The list after the delete.</p></figcaption></figure>

## Change or remove it later

* A disabled integration keeps its settings: **Actions** → **Enable** turns it on again.
* A deleted integration cannot be restored: [connect it again](/codemash/cloud/files/integrations/providers.md) and set it as default if needed.

## Do it from code

```ts
await norbix.hub.files.disableFilesIntegration({ id });
await norbix.hub.files.enableFilesIntegration({ id });
await norbix.hub.files.deleteFilesIntegration({ id });
```

```sh
norbix hub files integration disable --id int_4VCkmLBGF08eI9r7zjSYMp --yes
```

The client setup is on the [Files page](/codemash/cloud/files.md#use-it-from-code). API: [Disable Files Integration](/codemash/api-reference/files/integrations/disable-files-integration.md) · [Enable Files Integration](/codemash/api-reference/files/integrations/enable-files-integration.md) · [Delete Files Integration](/codemash/api-reference/files/integrations/delete-files-integration.md)
