Skip to content

Update Pages settings for a project

PATCH
/api/v4/projects/{id}/pages

Updates Pages settings for a specified project. You must have the Maintainer or Owner role for the project.

id
required
One of:
string

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

Media type application/json
object
pages_unique_domain_enabled

Whether to use unique domain

boolean
nullable
pages_https_only

Whether to force HTTPS

boolean
nullable
pages_primary_domain

Set pages primary domain

string
nullable
Example generated
{
"pages_unique_domain_enabled": true,
"pages_https_only": true,
"pages_primary_domain": "example"
}

OK

Bad Request

Unauthorized

Not Found