GitLab API

GitlabTool

Actions905

Overview

This node operation updates an invitation for a specific project in GitLab by email using a PUT request to the GitLab API. It is useful for managing project invitations programmatically, 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 access level or resend the invite to a collaborator's email.
  2. Automating project invitation management in GitLab workflows.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated API calls.
Authentication Specifies the authentication method to use, 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, default is GET but for this operation it is PUT.
Path Parameters Parameters for the API path including the project ID and the email address of the invitation to update.

Output

JSON

  • response - The JSON response from the GitLab API after updating the invitation, typically including updated invitation details or status.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and email parameters are correctly provided and valid to avoid 404 errors.
  • Authentication errors may occur if the API key is missing or invalid; verify credentials.
  • Permission errors can happen if the authenticated user lacks rights to update invitations on the project.

Links

Discussion