GitLab API icon

GitLab API

Gitlab

Actions1062

Groups → putApiV4GroupsIdMembersMemberIdApprove

AI-generated

Summary

Approve a pending group membership request for a specified member within a GitLab group by sending a PUT request.

Inputs

  • Id (required) — The ID of the GitLab group where the membership approval is to occur.
  • Member_id (required) — The ID of the member whose group membership request is pending approval and will be approved.
  • Skip Authentication — Boolean flag to skip using authentication for the request.
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com if not set.

Output shape

a single record

Returns the approval status or details of the updated group membership. The response shape directly reflects the GitLab API's response for membership approval at the endpoint /api/v4/groups/{id}/members/{member_id}/approve. No pagination applies.

Links

Discussion