vserver_remove_ip_address ()
The function is used to remove the given IP address from VPS. This function is available only, if the customer at us, has defined their own IP range. Otherwise, send an authorized request to order a range.
HTTP Method: | GET | |
---|---|---|
Parameters: | sid | session id* |
ip_address_id | unique IP address id* | |
Returns: | HTTP code | 200 (OK) |
Function call successful. Reply portion reply is empty. |
Return errors
Error code | HTTP response code | Description |
---|---|---|
1 | 400 (Bad request) | Function was not performed, because all required parameters were not entered. Reply portion reply is empty. |
3 | 403 (Forbidden) | Function call failed, invalid sid parameter. Create new sid using /api/login function. Reply portion reply is empty. |
5 | 403 (Forbidden) | Function was not performed, because you are trying to remove the IP address assigned to VPS. For VPS not under your account. |
CURL
curl "https://admin.hosting90.eu/api/vserver_remove_ip_address?sid=%sid%"
PHP Library
$api->vserver_remove_ip_address(array());