GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation allows sending invitations to a GitLab group by making a POST request to the GitLab API endpoint `/api/v4/groups/{id}/invitations`. It is useful for automating the process of inviting users to a specific GitLab group, which can be beneficial in team collaboration and project management scenarios.

Use Case Examples

  1. Automatically invite new team members to a GitLab group when they join your organization.
  2. Send batch invitations to multiple users to join a GitLab group as part of an onboarding workflow.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used for the request, default is GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET but POST is used for this operation.
Path Parameters Parameters to be included in the request path, specifically the group ID for this operation.

Output

JSON

  • id - The ID of the invitation created.
  • email - The email address of the invited user.
  • access_level - The access level granted to the invited user.
  • created_at - Timestamp when the invitation was created.

Dependencies

  • Requires GitLab API key credential for authentication.

Troubleshooting

  • Ensure the group ID provided in the path parameters is correct and the authenticated user has permission to invite members to the group.
  • Check that the request body contains all required fields as per the GitLab API documentation for invitations.
  • If authentication is skipped, the request may fail due to lack of authorization.

Links

Discussion