GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves a specific access token for a group in GitLab using the GitLab API. It is useful for scenarios where you need to manage or audit group access tokens, such as verifying token details or checking token permissions for security and access control purposes.

Use Case Examples

  1. Fetch details of a specific access token for a GitLab group to audit permissions.
  2. Retrieve a group access token to verify its validity before performing automated tasks.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for testing or public endpoints.
Authentication Type of authentication used, here it is GitLab API authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters to specify the group ID and the token ID to identify the access token to retrieve.

Output

JSON

  • id - The unique identifier of the access token.
  • name - The name of the access token.
  • scopes - The scopes or permissions granted by the access token.
  • created_at - Timestamp when the access token was created.
  • expires_at - Expiration date of the access token, if any.

Dependencies

  • GitLab API authentication token

Troubleshooting

  • Ensure the group ID and token ID are correctly specified and URL-encoded if necessary.
  • Authentication errors may occur if the API token is invalid or lacks sufficient permissions.
  • The node may fail if the GitLab instance URL is incorrect or unreachable.

Links

Discussion