GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves the managers of a specific GitLab runner by its ID. It is useful in scenarios where you need to manage or audit the users who have managerial access to a particular runner in a GitLab instance. For example, a DevOps engineer might use this to verify or update runner permissions programmatically.

Use Case Examples

  1. Retrieve the list of managers for a runner with ID 123 to check who has access rights.
  2. Automate auditing of runner managers across multiple GitLab projects.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the request is sent, defaulting to https://gitlab.com.
Method HTTP method to use for the request, defaulting to GET.
Path Parameters Parameters to be included in the request path, specifically the runner ID in this operation.

Output

JSON

  • managers - List of manager users for the specified runner

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the runner ID provided in the path parameters is valid and exists in the GitLab instance.
  • If authentication is enabled, verify that the GitLab API key credential is correctly configured and has sufficient permissions to access runner manager information.
  • Check the baseUrl to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion