GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → putApiV4ProjectsIdTransfer

AI-generated

Summary

Transfer a GitLab project to a new namespace using its ID or URL-encoded path.

Inputs

  • id (required) — The ID or URL-encoded path of the project to transfer.

Output shape

a single JSON object representing the transferred project.

The operation sends a PUT request to '/api/v4/projects/{id}/transfer' with a required request body following the 'putApiV4ProjectsIdTransfer' schema. Authentication is required unless explicitly skipped.

Examples

Example 1: Transfer a project to a new namespace

Set 'id' to the project's identifier or URL-encoded path. Provide the transfer target namespace details in the request body according to the schema. The node performs an authenticated PUT request to transfer the project.

Links

Discussion