> 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/clearconfig.md).

# ClearConfig

This method commands the Config module to clear all configurations belonging to a particular module.

ModuleId specifies the module. If ModuleId is null, all configurations, from all modules, will be removed.

ConfigType can assume values "**All**", "**Static**" and "**Dynamic**". This defines which part of the configuration that is cleared.

**Method Name:**\
ClearConfig

**Payload:**

```
{
  "ModuleId": "ModbusModule",
  "ConfigType": "All"
}
```
