GitLab API

GitlabTool

Actions1095

Projects → postApiV4ProjectsIdHousekeeping

AI-generated

Summary

Trigger a housekeeping operation on a specified GitLab project by sending a POST request to the /api/v4/projects/{id}/housekeeping endpoint.

Inputs

  • Id (required) — The ID or URL-encoded path of the GitLab project on which to perform housekeeping.
  • Skip Authentication — If true, bypasses authentication for the request. Defaults to false.

Output shape

The operation returns the response from the GitLab API, typically an object indicating the result or status of the housekeeping task.

The returned data shape depends on the GitLab API's response to the housekeeping POST request. The operation requires the 'id' path parameter and a request body matching the GitLab API's postApiV4ProjectsIdHousekeeping schema, which is managed internally by the node.

Examples

Example 1: Perform housekeeping on a GitLab project with ID '123'.

Set the operation to 'postApiV4ProjectsIdHousekeeping', provide '123' as the 'Id' path parameter, and ensure authentication credentials are supplied unless opting to skip authentication.

Links

Discussion