vserver_ipv6_subnet_detail ()
The function is used to list the reverse IPv6 records. This function is available only, if the customer at us, has defined their own IPv6 range. Otherwise, send an authorized request to order a range.
HTTP Method: | GET | |
---|
Parameters: | sid | session id* |
---|
| ipv6_subnet_id | unique IPv6 IP range* |
Returns: | HTTP code | 200 (OK) |
---|
| | Function call was successful. Reply portion reply contains a list of reverse records. |
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 list the IPv6 range detail that is assigned to VPS that is not under your account. |
CURL
curl "https://admin.hosting90.eu/api/vserver_ipv6_subnet_detail?sid=%sid%&ipv6_subnet_id=%ipv6_subnet_id%"
PHP Library
$api->vserver_ipv6_subnet_detail(array(
'ipv6_subnet_id' => %ipv6_subnet_id%,
));
Example of data output
<?xml version="1.0" encoding="UTF-8"?>
<reply>
<ipv6_addresses>
<ipv6_addresse>
<ipv6_address_id>ipv6_address_id</ipv6_address_id>
<ipv6_address>ipv6_address</ipv6_address>
<hostname>hostname</hostname>
</ipv6_addresse>
</ipv6_addresses>
</reply>