GitLab API icon

GitLab API

Gitlab

Actions1062

Wikis → putApiV4ProjectsIdWikisSlug

AI-generated

Summary

Update an existing wiki page in a GitLab project by specifying the project ID and the wiki page slug along with the new content in the request body.

Inputs

  • id (required) — The ID of the GitLab project containing the wiki.
  • slug (required) — The slug identifier of the wiki page to update.
  • Request Body (required) — The content and details for updating the wiki page, structured according to the putApiV4ProjectsIdWikisSlug schema.
  • Skip Authentication — Optionally skip authentication for this request (default is false).
  • baseUrl — Base URL of the GitLab server; defaults to 'https://gitlab.com'.

Output shape

a single updated wiki page object

The operation returns the updated wiki page data according to the GitLab API response. The request requires both path parameters (project ID and wiki slug) and a well-formed body describing the updates.

Examples

Example 1: Update a wiki page with revised content

Set the 'id' path parameter with the project ID, 'slug' path parameter with the wiki page slug, and provide the updated content in the request body according to the API schema.

Links

Discussion