GitLab API icon

GitLab API

Gitlab

Actions1062

Groups → postApiV4Groups

AI-generated

Summary

Send a POST request to the GitLab API endpoint /api/v4/groups to create a new group with the specified parameters in the request body.

Inputs

  • skipAuthentication — Optionally skip using saved GitLab API credentials for authentication.
  • authentication — GitLab API credentials used for authenticating the request; omitted if skipAuthentication is true.
  • baseUrl — The base URL for the GitLab instance, defaults to https://gitlab.com.
  • method — HTTP method for the request; fixed to POST for this operation.
  • parameterSchema (required) — Schema definition for the POST request body specifying the parameters required to create a GitLab group.

Output shape

a single JSON object representing the newly created GitLab group as returned by the API

The response contains the details of the created group according to GitLab's API v4 format. Authentication must be provided unless skipAuthentication is enabled. The operation always sends the request to the /api/v4/groups path on the configured baseUrl.

Examples

Example 1: Create a new GitLab group named 'example-group'

Set the request body according to the postApiV4Groups schema to specify group name and other optional parameters, provide GitLab credentials, and execute to receive the created group details.

Links

Discussion