GitLab API

GitlabTool

Actions1095

Wikis → putApiV4ProjectsIdWikisSlug

AI-generated

Summary

Update an existing wiki page in a specified GitLab project by providing the project ID, the page slug, and the updated content in the request body.

Inputs

  • id (required) — The ID of the GitLab project containing the wiki page to update.
  • slug (required) — The slug identifier of the wiki page to update.
  • putApiV4ProjectsIdWikisSlug (required) — The request body containing the updated content and metadata for the wiki page.
  • Skip Authentication — If set to true, skips authentication (default is false).
  • baseUrl — The base URL for the GitLab instance; defaults to https://gitlab.com.

Output shape

a single updated wiki page object

Returns the full updated wiki page data as defined by the GitLab API for the modified resource. Requires authentication unless skipped via parameter.

Examples

Example 1: Update a Wiki page content and title

Provide the project ID as 'id', the slug of the wiki page to update as 'slug', and the updated fields such as 'title' and 'content' in the request body parameter 'putApiV4ProjectsIdWikisSlug'. Execute the PUT request to '/api/v4/projects/{id}/wikis/{slug}' endpoint.

Links

Discussion