# DomainPatch

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 named type of the API.

## Fields

- `challenge` (string, one of auto, http, dns)
- `directory_listing` (boolean)
- `error_pages` (boolean)
- `force_https` (boolean)
- `hsts` (boolean)
- `php_settings` (object of string, up to 64 characters)
- `php_version` (string, matching ^[5-9]\.[0-9]$ or null)
- `ssl_mode` (string, one of none, auto): Certificate mode, either none or auto. Set the mode to custom by installing a custom certificate.
- `stats_enabled` (boolean)
- `wildcard` (boolean)
- `www_alias` (boolean)
- `www_redirect` (string, one of none, www, bare)

## Used by

- [PATCH /domains/{name}](https://urbestack.com/docs/api/patch-domains-name.md): Update a domain's settings
