> 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/ai/llm/disable.md).

# Disable or delete an LLM integration

Turn an LLM integration off, or delete it.

**Where:** Project → Integrations → LLM → an integration → **Actions** · `/projects/<project>/ai/llms/integrations/<integrationId>/edit`

## Before you start

* Check that no assistant uses the integration as its own LLM, and that it is not the project's [Default LLM](/codemash/cloud/ai/llm/set-default.md) — otherwise those chats fall back to the next default.

## Steps

1. Open the integration, here `Fast drafts` (Groq), and open the **Actions** menu (the arrow next to **Actions**). It holds **Disable** (or **Enable**), **See Groq documentation**, **See SDK documentation**, **See API documentation** and **Delete**.

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-20f1d589ceb053ab14ede4698e59f7307bb1122f%2Fllm-disable-1.png?alt=media" alt="Editing Groq integration with the Actions menu open: Disable, See Groq documentation, See SDK documentation, See API documentation, Delete"><figcaption><p>The Actions menu.</p></figcaption></figure>
2. Press **Disable**. There is no confirmation: the badge turns **DISABLED**.

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-7882a9b7db6e0170cca104efa98b1c90df7b4695%2Fllm-disable-2.png?alt=media" alt="Editing Groq integration with the badges DISABLED and NOT TESTED"><figcaption><p>Disabled.</p></figcaption></figure>

   In the list, **Enabled** now says `False`:

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-b975075f7861fc04169a67e1530fa7ba417d0bb1%2Fllm-disable-3.png?alt=media" alt="LLM list where Fast drafts (Groq) shows Enabled False"><figcaption><p>The list after disable.</p></figcaption></figure>
3. To delete, open the integration (here `Many models`, OpenRouter), open **Actions** and press **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-894910695053ca4d822d65e5af161becef890d84%2Fllm-disable-4.png?alt=media" alt="Delete Confirmation dialog: Are you sure you want to delete? with Delete and Cancel"><figcaption><p>The delete dialog.</p></figcaption></figure>

## Result

A disabled integration stays in the list with **Enabled** `False`; the chat's model picker no longer offers it, and the project settings list it greyed out. **Enable** in the same menu turns it on again.

After **Delete**, Cloud goes back to the list, shows *Integration deleted*, and the row is gone. The stored key is removed with it; there is no undo.

<figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-a8bf585c8f24d4a51fb17eb9374272967902f523%2Fllm-disable-5.png?alt=media" alt="LLM list without Many models; Fast drafts still shows Enabled False"><figcaption><p>The list after delete.</p></figcaption></figure>

## Change or remove it later

* **Enable** — the same **Actions** menu, then **Enable**.
* A deleted integration is gone: [connect the provider](/codemash/cloud/ai/llm/providers.md) again.

## Do it from code

```ts
await norbix.hub.ai.disableLlmIntegration({ id });  // turn it off, keep it
await norbix.hub.ai.deleteLlmIntegration({ id });   // remove it for good
```

```sh
norbix hub ai llm integration disable --id int_3RsGzmznf5HzRnJBXK2JCM --yes
```

`norbix hub ai llm integration enable …` turns it on again; `… delete --id … --yes` deletes it. The client setup is on the [AI page](/codemash/cloud/ai.md#use-it-from-code). API: [Disable Llm Integration](/codemash/api-reference/ai/integrations/disable-llm-integration.md) · [Enable Llm Integration](/codemash/api-reference/ai/integrations/enable-llm-integration.md) · [Delete Llm Integration](/codemash/api-reference/ai/integrations/delete-llm-integration.md)
