GitLab API icon

GitLab API

Gitlab

Actions1062

Access_requests → putApiV4ProjectsIdAccessRequestsUserIdApprove

AI-generated

Summary

Approve an access request from a specified user for a particular GitLab project by sending a PUT request to the project's access request approval endpoint.

Inputs

  • id (required) — The ID or URL-encoded path of the project owned by the authenticated user.
  • user_id (required) — The user ID of the access requester to approve.
  • Skip Authentication — Optionally skip authentication for this request (default: false).
  • baseUrl — The base URL of the GitLab instance (default: https://gitlab.com).

Output shape

A single JSON object representing the response from the GitLab API for the approval of the specified access request.

The operation requires the project ID and user ID path parameters, and a request body as defined by the schema referenced in the operation. Authentication is required unless explicitly skipped. No pagination applies.

Links

Discussion