Web service API

How to use PageSeeder's Web service API

hostalias

/hostaliases/{aliasname} [PATCH]

com.pageseeder.host.EditHostalias

Description

Edits a host alias - will only change specified parameters.

Parameters

NameDescriptionRequiredTypeDefault value
nameThe new name of the hostnostring

Permission

Only administrators can invoke this service.

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