GitLab API icon

GitLab API

Gitlab

Actions1062

Members → postApiV4GroupsIdMembers

AI-generated

Summary

Add a member to a specified GitLab group by providing the group ID and the member details in the request body.

Inputs

  • Id (required) — The GitLab group ID to which you want to add a member.
  • postApiV4GroupsIdMembers (required) — The request body containing the member information to add to the group.

Output shape

the newly added group member's details as returned by the GitLab API.

This operation uses a POST method to the endpoint /api/v4/groups/{id}/members. The response contains the created member's data. Authentication is required unless explicitly skipped.

Links

Discussion