OK
Successful response
[ { "name": "schema_vms.dump", "size": 101136 }, { "name": "data_vms.gz", "size": 8699084 }, { "name": "schema_dhcp.dump", "size": 124 }, { "name": "data_dhcp.gz", "size": 132 }, { "name": "triggers_dhcp.dump", "size": 127 } ]
Unauthorized
Authorization token is not provided or is invalid. Obtaining a token
curl -k --request POST \ --url 'https://your-domainapi/admin/v1/backup' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --data '[]'
$data = 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/backup', false, $context);
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.