Requesting an Excel file with a list of all configurations. Afterward, a download link will be sent via Websockets with the export_config type
GET api/admin/v1/export-config-templates
array config_ids, array of configuration IDs (if not specified, it will export all configurations)
array
200 OK
OK
Successful response
{ "status": "ok" }
401 Unauthorized
Unauthorized
Authorization token is not provided or is invalid. Obtaining a token
curl -k --request POST \ --url 'https://your-domainapi/admin/v1/export-config-templates' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --data '{ "config_ids": [] }'
$data = array ( 'config_ids' => array ( ), ); $context = stream_context_create([ 'ssl'=>['verify_peer' => false], 'http' => [ 'method' => 'GET', 'header' => "Content-Type: application/json\r Accept: application/json", 'content'=>json_encode($data) ] ]); $result = file_get_contents('https://your-domainapi/admin/v1/export-config-templates', false, $context);
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.