gitlab_pages

Update Pages settings for a project

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

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

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

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

Request body

pages_unique_domain_enabledboolean

Whether to use unique domain

pages_https_onlyboolean

Whether to force HTTPS

pages_primary_domainstring

Set pages primary domain

Response

Update Pages settings for a project

Changes

No recorded changes to this operation across all 5 revisions of this API.