GitLab API icon

GitLab API

Gitlab

Actions1062

Access_requests → deleteApiV4GroupsIdAccessRequestsUserId

AI-generated

Summary

Remove an access request from a GitLab group by specifying the group ID or path and the requesting user's user ID.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab group owned by the authenticated user.
  • user_id (required) — The user ID of the user who made the access request to be deleted.
  • baseUrl — The base URL of the GitLab instance, defaulting to https://gitlab.com.
  • skipAuthentication — Optionally skip authentication when making the API call.

Output shape

no body — success/failure only

The operation calls the DELETE method on the GitLab API endpoint /api/v4/groups/{id}/access_requests/{user_id} to remove the access request. No response body is expected upon success.

Examples

Example 1: Removing an access request for a user in a group

Set 'id' to the GitLab group's ID or path and 'user_id' to the access requester's user ID, and execute the operation to revoke their access request.

Links

Discussion