GitLab API

GitlabTool

Actions1000

Overview

This node operation deletes an access request for a specific user on a GitLab project. It is useful for managing project access by removing pending access requests from users who no longer need or should not have access. For example, a project administrator can use this to revoke access requests from users who mistakenly requested access or whose access is no longer appropriate.

Use Case Examples

  1. Deleting a user's access request to a project to maintain project security and control.
  2. Automating the cleanup of access requests in a project management workflow.

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 project and user whose access request is to be deleted.

Output

JSON

  • success - Indicates whether the access request deletion was successful.
  • statusCode - HTTP status code returned by the API after the delete operation.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID and user ID are correctly provided and valid; otherwise, the API will return an error.
  • Authentication errors may occur if the API key is missing or invalid; verify the credentials used.
  • The user might not have permission to delete access requests on the project, resulting in authorization errors.

Links

Discussion