GitLab API

GitlabTool

Actions905

Overview

This node operation deletes an invitation email from a specified GitLab group using the GitLab API. It is useful for managing group invitations by removing pending invitations for specific email addresses. For example, if a user wants to revoke an invitation sent to a particular email for joining a GitLab group, this operation can be used.

Use Case Examples

  1. Deleting an invitation email from a GitLab group to revoke access before the invitee accepts.
  2. Managing group membership invitations by removing outdated or incorrect invitations.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used for the request, default is GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method used for the request, default is GET but DELETE is used for this operation.
Path Parameters Parameters for the API path including group ID and invitation email to delete.

Output

JSON

  • statusCode - HTTP status code of the delete operation response.
  • body - Response body from the API after attempting to delete the invitation.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and email parameters are correctly provided and valid.
  • Authentication errors may occur if the API key is missing or invalid; verify credentials.
  • If the invitation email does not exist or is already deleted, the API may return a 404 error.

Links

Discussion