GitLab API

GitlabTool

Actions1000

Overview

This node operation updates an invitation for a specific email address within a GitLab group using the GitLab API. It is useful for managing group invitations programmatically, such as modifying invitation details or resending invitations to users by their email addresses within a group context.

Use Case Examples

  1. Updating an invitation email for a GitLab group to change permissions or resend the invite.
  2. Automating group membership management by programmatically updating invitations based on email addresses.

Properties

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

Output

JSON

  • response - The JSON response from the GitLab API after updating the invitation.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and email address are correctly specified and exist in GitLab to avoid 404 errors.
  • Verify that the API key has sufficient permissions to update group invitations.
  • If skipping authentication, the request may fail due to lack of authorization.
  • Check the HTTP method is set to PUT for this operation to succeed.

Links

Discussion