GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation updates an invitation for a specific project in GitLab by specifying the project ID and the email address of the invitation. It is useful for managing project invitations, such as modifying invitation details or resending invitations to collaborators via their email addresses.

Use Case Examples

  1. Updating an invitation for a project to change the access level or resend the invitation email to a collaborator.
  2. Managing project invitations programmatically to automate team access control in GitLab projects.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used for the request, defaulting to GitLab API key.
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 required in the request path, including the project ID and the email address of the invitation.

Output

JSON

  • response - The JSON response from the GitLab API after updating the invitation, containing details of the updated invitation.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project 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 project invitations to prevent authorization errors.
  • Check the base URL if using a self-hosted GitLab instance to ensure the request is sent to the correct server.

Links

Discussion