GitLab API icon

GitLab API

Gitlab

Actions1062

Pages → patchApiV4ProjectsIdPages

AI-generated

Summary

Patches (updates) the Pages settings for a GitLab project.

Inputs

  • id (required) — Project ID or URL‑encoded path of the project whose Pages settings are to be updated.
  • requestBody (required) — Payload matching the patchApiV4ProjectsIdPages schema (e.g., force_ssl, skip_docs).

Output shape

GitLab API response containing the updated Pages settings.

If the request succeeds, the node returns the JSON body from the PATCH /api/v4/projects/{id}/pages endpoint.

Examples

Example 1: Disable HTTPS enforcement for a project's Pages

Set id to the project ID or path, provide request body { "force_ssl": false }, keep default authentication (gitlabApi credential) and baseUrl.

Links

Discussion