GitLab API

GitlabTool

Actions1000

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 the 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, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, default is GET but DELETE is used 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

  • success - Indicates whether the access request deletion was successful.
  • statusCode - HTTP status code returned from the API call.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the group ID and user ID are correctly specified and exist in GitLab.
  • Verify that the API authentication token has sufficient permissions to delete access requests.
  • Check the base URL is correct and accessible.
  • Common error: 404 Not Found - The specified group or user does not exist or the user has no access to the group.
  • Common error: 401 Unauthorized - Authentication failed or token is invalid.

Links

Discussion