GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → postApiV4ProjectsUserUserId

AI-generated

Summary

Create a new project for a specified GitLab user by sending a POST request to the /api/v4/projects/user/{user_id} endpoint.

Inputs

  • user_id (required) — The ID of the user for whom the project is to be created, supplied as a path parameter.
  • postApiV4ProjectsUserUserId (required) — The request body schema containing the project details to be created for the specified user.
  • baseUrl — The base URL of the GitLab instance to send the API request to; defaults to https://gitlab.com.
  • skipAuthentication — Optionally skip authentication if set to true.

Output shape

a single record representing the newly created project as returned by the GitLab API.

The operation expects the user_id as a path parameter and the project details in the request body. The response includes the full details of the created project. Authentication via the gitlabApi credential is required unless explicitly skipped.

Links

Discussion