> For the complete documentation index, see [llms.txt](https://docs.tricloudnexus.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tricloudnexus.io/edge/nexus-modules/platform-modules/configmodule/direct-commands/setconfigmode.md).

# SetConfigMode

This method commands the **ConfigModule** to set a new active config mode.

{% hint style="info" %}
See [ConfigMode documentation](/edge/nexus-modules/platform-modules/configmodule/config-modes.md) for details.
{% endhint %}

**Method Name:**\
SetConfigMode

**Payload:**

```
{
    "modeName": "<new mode name>"
}
```

**Returns:**

```
{
    "oldConfigMode": "<previous config mode>",
    "newConfigMode": "<active config mode>"
}
```
