GitLab API icon

GitLab API

Gitlab

Actions1062

Members → postApiV4ProjectsIdMembers

AI-generated

Summary

Add a member to a GitLab project by specifying the project ID and member details.

Inputs

  • id (required) — The ID of the GitLab project to which the member will be added.
  • postApiV4ProjectsIdMembers (required) — The request body containing the details of the member to add to the project, such as user ID and access level.
  • baseUrl — Base URL of the GitLab instance; defaults to https://gitlab.com if not specified.

Output shape

a JSON object representing the added member's details as returned by the GitLab API.

Requires authentication via GitLab API credentials unless 'Skip Authentication' is set. The operation calls POST /api/v4/projects/{id}/members with required body parameters. Errors are returned as per GitLab API conventions.

Links

Discussion