GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves the support PIN for the authenticated user from the GitLab API (version 4). It is useful for scenarios where a user needs to obtain their support PIN for GitLab support or verification purposes.

Use Case Examples

  1. A user wants to programmatically fetch their GitLab support PIN to provide it during a support request.
  2. An automation workflow needs to verify the user's identity by retrieving the support PIN from GitLab.

Properties

Name Meaning
Skip Authentication If set to true, the node will skip the authentication process.
Authentication The authentication method used to connect to the GitLab API. Hidden unless Skip Authentication is true.
baseUrl The base URL of the GitLab instance to connect to, defaulting to https://gitlab.com.
Method The HTTP method used for the API request, defaulting to GET.

Output

JSON

  • support_pin - The support PIN of the authenticated user retrieved from the GitLab API.

Dependencies

  • GitLab API key credential

Troubleshooting

  • If authentication fails, ensure the GitLab API key credential is correctly configured and has the necessary permissions.
  • If the baseUrl is incorrect or the GitLab instance is unreachable, the request will fail. Verify the URL and network connectivity.
  • If the API endpoint /api/v4/user/support_pin changes or is deprecated, the node will not retrieve the support PIN. Check GitLab API documentation for updates.

Links

Discussion