Skip to content

Update Pages domain

PUT
/api/v4/projects/{id}/pages/domains/{domain}

Updates a specified Pages domain in a project. You must have permissions to change an existing Pages domain.

id
required
One of:
string

The ID or URL-encoded path of the project owned by the authenticated user

domain
required
string

The domain

Media type application/json
object
certificate
One of:
string
nullable
key
One of:
string
nullable
auto_ssl_enabled

Enables automatic generation of SSL certificates issued by Let’s Encrypt for custom domains.

boolean
nullable
Example generated
{
"certificate": "example",
"key": "example",
"auto_ssl_enabled": true
}

OK

Bad Request

Not Found