Update Configurations - Manual - Industrial Edge - Industrial Edge - Industrial Edge - Documentation of Industrial Edge APIs - CLI tools - Industrial Edge - References - APIs

Industrial Edge Platform Operation - APIs & References

Product
Industrial Edge
Edition
12/2024
Language
en-US (original)

You can update a running application with a new configuration by using this request:

    curl -i -X POST \
    -H "Authorization:<your-authorization-token>" \
    -H "Content-Type:multipart/form-data" \
    -F "infoMap={\"configs\":[{\"configId\":\"<your-configuration-id>\",\"versionId\":\"<your-configuration-version-id>\"}], \
    \"actions\":{\"OPERATION\":\"restart\"},\"devices\":[\"<your-device-id>\"]}" \
    'https://<your-iem-url>/portal/api/v1/batches?appid=<your-app-id>&operation=updateAppConfig'