GitLab API

GitlabTool

Actions1000

Overview

This node operation updates an invitation for a specific project in GitLab by email. It is useful for managing project invitations programmatically, such as modifying invitation details or resending invitations to users via their email addresses. For example, a project administrator can automate the process of updating invitation statuses or permissions for team members.

Use Case Examples

  1. Updating an invitation for a project member by specifying the project ID and the member's email address.
  2. Automating invitation management in a CI/CD pipeline to ensure correct access control.

Properties

Name Meaning
Skip Authentication Determines whether to skip the authentication process for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, defaulting to GET but can be set to PUT for this operation.
Path Parameters Parameters included in the API request path, specifically the project ID and the email address of the invitation recipient.

Output

JSON

  • id - The unique identifier of the invitation.
  • email - The email address associated with the invitation.
  • access_level - The access level granted by the invitation.
  • created_at - The timestamp when the invitation was created.
  • updated_at - The timestamp when the invitation was last updated.

Dependencies

  • GitLab API authentication

Troubleshooting

  • Ensure the project ID and email parameters are correctly provided and valid to avoid 404 errors.
  • Verify that the authentication credentials are correctly set up to prevent authorization errors.
  • Check the HTTP method is set to PUT for this operation to avoid method not allowed errors.

Links

Discussion