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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Body
Section titled “Request Body”Media typeapplication/json
object
pages_unique_domain_enabled
Whether to use unique domain
boolean
pages_https_only
Whether to force HTTPS
boolean
pages_primary_domain
Set pages primary domain
string
Examplegenerated
{ "pages_unique_domain_enabled": true, "pages_https_only": true, "pages_primary_domain": "example"}Responses
Section titled “Responses”OK
Bad Request
Unauthorized
Not Found