GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation allows users to send a POST request to the GitLab API endpoint `/api/v4/groups/{id}/access_requests` to create an access request for a specific group. It is useful for automating the process of requesting access to a GitLab group programmatically, especially in workflows that manage group memberships or permissions.

Use Case Examples

  1. Automatically request access to a GitLab group when a new user is onboarded.
  2. Integrate with a ticketing system to create access requests for GitLab groups based on support tickets.

Properties

Name Meaning
Skip Authentication Determines whether to skip the authentication step for the API request.
Authentication Specifies the authentication method to use for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent, defaulting to https://gitlab.com.
Method The HTTP method to use for the API request, defaulting to GET but can be set to POST, PUT, DELETE, HEAD, or PATCH.
Path Parameters Parameters to be included in the request path, specifically the group ID or URL-encoded path owned by the authenticated user.

Output

JSON

  • id - The ID or URL-encoded path of the group for which the access request is made.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID provided in the path parameters is correct and accessible by the authenticated user.
  • Verify that the authentication credentials (GitLab API key) are valid and have sufficient permissions to create access requests.
  • Check the base URL to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion