Skip to main content

Overwrite the complete device config (non-permanent)

PUT 

/api/v2/config/file

Replaces every config group's local YAML file with the supplied {group: {key: value}} object. This is written to the local config store only — it is not pushed to the server and is overwritten by the next config sync. Intended for local testing. Groups omitted from the payload are removed from the local store.

Request​

Body

required

Complete config as a map of groups: {group: {key: value}}

    any

Responses​

Complete device config after the update (all groups)

Loading...