# SetConfig

This method completely replaces the current existing configuration and routes with a new one. The new configuration must be places in a storage account in the cloud, and a SasUrl must be generated. Providing the SasUrl in the direct method triggers a download of the file to the egde device, where it replaces the existing configuration.

**Method Name:**\
SetConfig

**Payload:**\
This is an example of the payload:

```
{
"blobSasUrl": "https://tccoldstorage.blob.core.windows.net/configupload/config.json?sp=r&st=2020-09-23T11:55:03Z&se=2021-09-23T19:55:03Z&spr=https&sv=2019-12-12&..."
}
```

\\


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tricloudnexus.io/edge/nexus-modules/platform-modules/configmodule/direct-commands/setconfig.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
