GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves deploy tokens for a specific GitLab group using the GitLab API. It is useful for automating the management and retrieval of deploy tokens associated with a group, which can be used for deployment automation and access control in CI/CD pipelines.

Use Case Examples

  1. Fetch deploy tokens for a GitLab group to automate deployment processes.
  2. List active deploy tokens for a group to audit access and permissions.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, default is GitLab API key.
baseUrl Base URL of the GitLab instance, default is 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.
Path Parameters Path parameters required for the API endpoint.

Output

JSON

  • id - Deploy token ID.
  • name - Name of the deploy token.
  • username - Username associated with the deploy token.
  • expires_at - Expiration date of the deploy token.
  • scopes - Scopes or permissions granted to the deploy token.
  • active - Indicates if the deploy token is active.

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 GitLab API key credential is valid and has sufficient permissions to access group deploy tokens.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correct.
  • If pagination parameters (page, per_page) are used, ensure they are valid integers.
  • If filtering by active status, ensure the value is a boolean (true or false).

Links

Discussion