config.set

The config.set command is used to set a config group's settings.

TR50 Request


                        {
  "cmd": {
    "command": "config.set",
    "params": {
      "apiLogAge": 7,
      "fileAge": -1,
      "group": "retention",
      "locHistoryAge": 7,
      "mailboxAge": 7,
      "propAggregateAge": 7,
      "propHistoryAge": 7,
      "thingLogAge": 7
    }
  }
}
      

Request Parameters

Name

Type

Description

SETTING_KEY

*

The config setting value.

...

...

...

TR50 Response

If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.


                        {
  "cmd": {
    "success": true
  }
}