> 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/api-reference/code/module/enable-code.md).

# Enable Code

enable Code.

These endpoints turn the module on or off for your project.

This endpoint enables the module for your project.

{% hint style="info" %}
**PUT since 2026-10-05 (was GET).** Turning a module on or off changes state, so it is a `PUT`. A `GET` on this path answers **405 Method Not Allowed** — there is no GET alias. Every Norbix SDK (and the CLI from 1.14.0) already sends `PUT`.
{% endhint %}

{% openapi src="/files/0gOkqzp7kyziG9XPpCBy" path="/{version}/code/enable" method="put" %}
[norbix-hub-swagger.json](https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-7c7445e68689b62620e59cb01a3523deb46b865b%2Fnorbix-hub-swagger.json?alt=media)
{% endopenapi %}

## In Cloud

Manage this visually in Cloud — see [Code](/codemash/cloud/code.md).

## Use it from code

Every Norbix SDK exposes this endpoint as a method — see [Enable Code](/codemash/sdks/code/module/enable-code.md) in the SDK reference, with examples in every language.
