Skip to main content

 Web service API

How to use PageSeeder's Web service API

hostalias

/hostaliases/{aliasname} [PATCH]

com.pageseeder.host.EditHostalias

Description

Edits a host alias – only changes specified parameters.

Parameters

NameDescriptionRequiredTypeDefault value
nameThe new name of the hostnostring

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.

Created on , last edited on