GitLab API icon

GitLab API

Gitlab

Actions1062

Access_requests → putApiV4GroupsIdAccessRequestsUserIdApprove

AI-generated

Summary

Approve a user's access request to a specific GitLab group by specifying the group ID and the user ID of the access requester.

Inputs

  • id (required) — The ID or URL-encoded path of the group owned by the authenticated user.
  • user_id (required) — The user ID of the access requester whose access request is being approved.
  • putApiV4GroupsIdAccessRequestsUserIdApprove (required) — Request body parameters as defined by GitLab API for approving access requests (details found in the corresponding OpenAPI schema).

Output shape

a single JSON object representing the approved access request as returned by the GitLab API

The returned object structure follows GitLab's API response for this endpoint. The operation requires authentication via the configured GitLab API credentials unless 'Skip Authentication' is set to true. The base URL defaults to https://gitlab.com but can be overridden.

Examples

Example 1: Approve an access request of user ID 123 to group ID 'my-group'

Set the path parameters 'id' to 'my-group' and 'user_id' to '123'. Provide any required request body fields in 'putApiV4GroupsIdAccessRequestsUserIdApprove'. Execute the operation to approve the user's access request to that group.

Links

Discussion