GitLab API

GitlabTool

Actions1000

Overview

This node interacts with the GitLab API to retrieve personal access token associations for the authenticated user. It is useful for scenarios where you need to manage or audit personal access tokens linked to your GitLab account, such as checking token permissions or usage.

Use Case Examples

  1. Retrieve all personal access token associations for the current user with optional filtering by minimum access level.
  2. Paginate through personal access token associations by specifying page number and items per page.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
baseUrl The base URL of the GitLab instance to connect to, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Optional query parameters to filter and paginate the results.

Output

JSON

  • id - The unique identifier of the personal access token association.
  • name - The name of the personal access token.
  • scopes - The scopes or permissions granted to the personal access token.
  • created_at - The creation timestamp of the personal access token.
  • expires_at - The expiration date of the personal access token, if set.

Dependencies

  • GitLab API authentication token

Troubleshooting

  • Ensure the GitLab API credentials are correctly configured and valid to avoid authentication errors.
  • Verify the baseUrl is correct and accessible to prevent connection issues.
  • Check that query parameters are correctly formatted and valid according to GitLab API specifications to avoid request errors.

Links

Discussion