GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → postApiV4ProjectsIdRestore

AI-generated

Summary

Restore a soft-deleted (archived) GitLab project by its project ID.

Inputs

  • Id (required) — The unique identifier of the GitLab project to restore.
  • Skip Authentication — Optionally skip using authentication credentials for the request.
  • baseUrl — The base URL of the GitLab instance, defaulting to https://gitlab.com.

Output shape

a JSON object representing the restored GitLab project data as returned by the API

The operation makes a POST request to /api/v4/projects/{id}/restore and returns the restored project details; proper authentication is required unless skipped. Errors will be returned if the project ID is invalid or restoration fails.

Links

Discussion