OK
Успешный ответ
[ { "id": 64, "title": "Группа" } ]
Bad Request
Это ошибка означает, что DHCP группы недоступны на данный момент из-за отсутствия настроенного DHCP
Unauthorized
Токен авторизации не передан или не валидный Получение токена
curl -k --request POST \ --url 'https://your-domain/api/admin/v1/dhcp-subnet-groups' \ --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-domain/api/admin/v1/dhcp-subnet-groups', false, $context);
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.