GitLab API

GitlabTool

Actions1000

Overview

This node operation deletes an invitation for a specific email address from a GitLab group. It is useful for managing group invitations by removing unwanted or outdated invitations. For example, if a user wants to revoke an invitation sent to a particular email for a group, this operation can be used.

Use Case Examples

  1. Deleting an invitation sent to user@example.com from group with ID 123.
  2. Revoking access invitation for a specific email in a GitLab group.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
Authentication The authentication method used for the API request, defaulting to GitLab API key.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method used for the request, defaulting to GET but can be set to DELETE for this operation.
Path Parameters Parameters for the API path including group ID and the email address of the invitation to delete.

Output

JSON

  • success - Indicates whether the invitation deletion was successful.
  • statusCode - HTTP status code returned by the API.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID and email address are correctly provided and valid.
  • Check that the API key has sufficient permissions to delete group invitations.
  • If authentication is skipped, the request may fail due to lack of authorization.
  • Common error messages include 404 Not Found if the group or invitation does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion