GitLab API

GitlabTool

Actions1000

Overview

This node operation deletes a specific wiki page within a GitLab group by using the group's ID and the wiki page's slug. It is useful for automating the removal of outdated or unwanted wiki pages in GitLab groups, helping maintain organized and up-to-date documentation.

Use Case Examples

  1. Automatically delete a deprecated wiki page from a project group in GitLab as part of a cleanup workflow.
  2. Remove sensitive or incorrect wiki pages from a GitLab group via an automated process triggered by certain events.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated API calls.
Authentication Select the authentication method to use, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but DELETE is relevant for this operation.
Path Parameters Parameters required in the URL path to identify the wiki page to delete.

Output

JSON

  • success - Indicates whether the wiki page was successfully deleted.
  • statusCode - HTTP status code returned by the API after the delete request.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the provided group ID and wiki slug are correct and exist in the GitLab instance.
  • Check that the authentication token has sufficient permissions to delete wiki pages in the specified group.
  • If skipping authentication, verify that the GitLab instance allows unauthenticated delete operations (rare).
  • Common error messages include 404 Not Found if the wiki page or group does not exist, and 403 Forbidden if the token lacks delete permissions.

Links

Discussion