code: def config_replace(self, *args, **kwargs):
          
          return self._client.request('/config/replace', args,
                                      decoder='json', **kwargs)
docs: Replaces the existing config with a user-defined config.
  
          Make sure to back up the config file first if neccessary, as this
          operation can't be undone.