GitLab API

GitlabTool

Actions1095

Projects → postApiV4ProjectsIdArchive

AI-generated

Summary

Archive a GitLab project by specifying its ID or URL-encoded path to invoke the corresponding API endpoint.

Inputs

  • id (required) — The ID or URL-encoded path of the project to archive.
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.
  • skipAuthentication — Optionally skip authentication for the request (default is false).

Output shape

A single JSON object representing the archived project returned by the GitLab API.

Requires authentication via the 'gitlabApi' credential unless 'Skip Authentication' is enabled. This operation performs an HTTP POST to '/api/v4/projects/{id}/archive' using the specified project ID/path. No additional request body parameters are accepted.

Links

Discussion