GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation deletes an access request for a specific user from a GitLab group. It is useful for managing group membership requests by programmatically removing users who have requested access to a group. For example, an administrator can automate the removal of pending access requests for users who no longer need access or were mistakenly added.

Use Case Examples

  1. Deleting a user's access request from a GitLab group by specifying the group ID and user ID.
  2. Automating cleanup of access requests in GitLab groups to maintain group membership control.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication The authentication method used for the request, defaulting to GitLab API key.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET but can be set to DELETE for this operation.
Path Parameters Parameters required in the URL path to identify the group and user for the access request to delete.

Output

JSON

  • statusCode - The HTTP status code returned by the API after attempting to delete the access request.
  • responseBody - The body of the response from the API, typically empty for a successful delete operation.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and user ID are correct and that the authenticated user has permission to delete access requests for the group.
  • If authentication is skipped, the request may fail due to lack of authorization.
  • Common error messages include 404 Not Found if the group or user does not exist, and 403 Forbidden if the user lacks permission to delete the access request.

Links

Discussion