GitLab API

GitlabTool

Actions1095

Projects → postApiV4ProjectsIdRestore

AI-generated

Summary

Restore a previously deleted GitLab project by specifying its project ID, triggering the POST /api/v4/projects/{id}/restore endpoint.

Inputs

  • Id (required) — The numeric ID of the deleted project to restore.

Output shape

a single record

Returns the restored project's details as a JSON object from the GitLab API response. Requires authentication unless Skip Authentication is enabled.

Examples

Example 1: Restore a deleted project

Set Id to the project's numeric ID; ensure authentication is configured.

Links

Discussion