hostalias
/hostaliases/{aliasname} [PATCH]
API Support | Available since | Last updated | Output |
---|---|---|---|
5.8900 | 5.9500 | xml, json |
Description
Edits a host alias – only changes specified parameters.
Parameters
Name | Description | Required | Type | Default value |
---|---|---|---|---|
name | The new name of the host | no | string |
Permission
This service requires administrator.
Response
If successful, the modified alias is returned as an <alias> element wrapped in a <alias-modification>
element.
<alias-modification> <alias id="3" name="www.mycompany.com"/> </alias-modification>
Error Handling
No specific errors expected for this generator.