GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves deploy tokens from the GitLab API (version 4). It is useful for scenarios where users need to list or manage deploy tokens programmatically, such as automating token retrieval for CI/CD pipelines or auditing active deploy tokens in a GitLab instance.

Use Case Examples

  1. A DevOps engineer automates the retrieval of deploy tokens to integrate with deployment scripts.
  2. A security auditor fetches active deploy tokens to review access permissions.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance to connect to.
Method HTTP method to use for the request.
Query Parameters Parameters to filter or paginate the deploy tokens list.

Output

JSON

  • tokens - Array of deploy tokens retrieved from the GitLab API.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the GitLab API key credential is correctly configured and has sufficient permissions to access deploy tokens.
  • Verify the baseUrl is correct and accessible from the n8n instance.
  • Check query parameters for valid values to avoid API errors.

Links

Discussion