GitLab API

GitlabTool

Actions1095

Groups → postApiV4GroupsIdProjectsProjectId

AI-generated

Summary

Creates a new project within a specific GitLab group by sending a POST request to the GitLab API.

Inputs

  • id (required) — The ID of the group where the project should be created.
  • project_id (required) — The ID or path of the project to create.
  • baseUrl — The base URL of the GitLab instance (default: https://gitlab.com).
  • skipAuthentication — Bypasses authentication using the configured GitlabApi credential.

Output shape

a single record

Returns the created project resource according to GitLab's API specification.

Examples

Example 1: Create a project named 'my-project' inside a group with ID '42'.

Resource: Groups, Operation: Create Project, Path Parameters: id=42, project_id=my-project

Example 2: Create a project using a custom GitLab server URL.

Resource: Groups, Operation: Create Project, baseUrl: https://gitlab.mycompany.com, Path Parameters: id=1, project_id=new-repo

Links

Discussion