GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation deletes a specific runner in GitLab by its ID. It is useful for managing GitLab runners, especially when you need to remove runners that are no longer needed or are being replaced. For example, a DevOps engineer might use this node to automate the cleanup of runners in a CI/CD pipeline.

Use Case Examples

  1. Deleting a runner by specifying its ID to free up resources or remove outdated runners.
  2. Automating runner management in GitLab projects by removing runners that are no longer active.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET but settable to DELETE for this operation.
Path Parameters The path parameters for the request, specifically the ID of the runner to delete.

Output

JSON

  • id - The ID of the runner that was deleted.

Dependencies

  • GitLab API authentication

Troubleshooting

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

Links

Discussion