vserver_active_license_list ()
Excludes all active licenses for the current UID.
HTTP Method: | GET | |
---|
Parameters: | sid | session id* |
---|
Returns: | HTTP code | 200 (OK) |
---|
| | Function call successful. Reply portion reply contains a list of active licenses. |
Return errors
Error code | HTTP response code | Description |
---|
3 | 403 (Forbidden) |
Function call failed, invalid sid parameter. Create new sid using /api/login function. Reply portion reply is empty.
|
CURL
curl "https://admin.hosting90.eu/api/vserver_active_license_list?sid=%sid%"
PHP Library
$api->vserver_active_license_list(array());
Example of data output
<?xml version="1.0" encoding="UTF-8"?>
<reply>
<licenses>
<license>
<license_name>license_name</license_name>
<license_description>license_description</license_description>
<id_vserver>id_vserver</id_vserver>
<housing_begin>housing_begin</housing_begin>
</license>
</licenses>
</reply>