GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation deletes a GitLab runner manager using the GitLab API. It is useful for automating the removal of runner managers by specifying their authentication token and system identifier. For example, it can be used in CI/CD pipeline management to clean up unused or compromised runners programmatically.

Use Case Examples

  1. Deleting a runner manager by providing its token and system ID to revoke its access and remove it from the GitLab instance.
  2. Automating runner management in GitLab by integrating this node in workflows that maintain runner lifecycle.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method used for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, defaulting to DELETE for this operation.
Query Parameters The query parameters required for the delete operation, including the runner's authentication token and system identifier.

Output

JSON

  • statusCode - HTTP status code of the delete operation response
  • body - Response body from the GitLab API after attempting to delete the runner manager

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the token and system_id query parameters are correctly provided; missing or incorrect values will cause the API call to fail.
  • Authentication errors may occur if the API key credential is invalid or missing; verify the credential configuration.
  • Network or base URL misconfiguration can lead to connection failures; confirm the baseUrl is correct and accessible.

Links

Discussion