---
title: "Service: /hostaliases/{aliasname} [PATCH]"
source: https://dev.pageseeder.com/api/services/hostalias-PATCH.html
description: "This service edits a host alias by updating specified parameters. It requires administrator permissions and returns the modified alias wrapped in an alias-modification element."
last_updated: 2026-09-02T11:36:20+10:00
document_type: api_endpoint
operation_id: host-PATCH
resource_id: host
path_template: /hostaliases/{aliasname}
http_method: PATCH
api_category: host
implementation_version: 6.2004
api_since: 5.8900
deprecated_since: null
obsolete_since: null
api_support: supported
cache_control: N/A
generated_at: 2026-09-02
tokens: ~163
---

# /hostaliases/\{aliasname\} \[PATCH\]

## 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\>](../elements/element_alias.md) element wrapped in a `<alias-modification>` element.

```xml

<alias-modification>
  <alias id="3" name="www.mycompany.com"/>
</alias-modification>
```

## Error Handling

No specific errors expected for this generator.

