Enabling Persistent Logging using the NetCloud Manager API - Enabling-Persistent-Logging/Enabling-Persistent-Logging-using-the-NetCloud-Manager-API

Enabling Persistent Logging on Ericsson Cradlepoint Endpoints

ft:locale
en-US
ft:sourceName
Paligo_Prod

The following is an example of how to use the configuration_managers endpoint to enable Persistent Logging using the NetCloud API.

$ curl -v -X PATCH -H "X-ECM-API-ID:$X-ECM-API-ID" -H "X-ECM-API-KEY:$X-ECM-API-KEY" -H "X-CP-API-ID:$X-CP-API-ID" -H "X-CP-API-KEY:$X-CP-API-KEY" -H "Content-Type:application/json" "https://qa4.cradlepointecm.com/api/v2/configuration_managers/<ID of configuration_managers record>/" -d '{
"configuration": [
        {
           "system": {
                "logging": {
                    "persist_logs": true
                }
            }
       },
        []
    ]
}'

Note

$X_ECM_API_ID, $X_ECM_API_KEY, $X_CP_API_ID and $X_CP_API_KEY are placeholders for your API keys. When calling this endpoint, replace these placeholders with your API keys.