GitLab API

GitlabTool

Actions1095

Projects → postApiV4ProjectsIdRepositorySize

AI-generated

Summary

Trigger the resizing of the GitLab project repository for a specified project ID to free up disk space and optimize storage.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project to resize the repository for.
  • skipAuthentication — Set to true to skip authentication; otherwise, uses the configured GitLab API credentials.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.

Output shape

a JSON object response from the GitLab API indicating the result of the resize operation or status.

The response shape depends on the GitLab API's repository size resize endpoint; no pagination. Requires authentication unless 'skipAuthentication' is true.

Links

Discussion