GitLab API

GitlabTool

Actions1000

Overview

This node operation deletes a specific Debian distribution associated with a GitLab group by its codename. It is useful for managing Debian package repositories within GitLab groups, allowing users to remove outdated or unnecessary Debian distributions from their group's package registry.

Use Case Examples

  1. Deleting a Debian distribution named 'sid' from a GitLab group with a specific ID to clean up package repositories.
  2. Removing a Debian distribution by specifying its codename and group ID to maintain repository accuracy.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API authentication.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET but DELETE is relevant for this operation.
Query Parameters Optional query parameters to specify additional details about the Debian distribution to delete, such as suite, origin, label, version, description, valid time duration, components, and architectures.
Path Parameters Required path parameters including the group ID and the Debian distribution codename to identify the resource to delete.

Output

JSON

  • statusCode - HTTP status code of the delete operation response
  • responseBody - Response body returned from the GitLab API after attempting to delete the Debian distribution

Dependencies

  • GitLab API authentication token

Troubleshooting

  • Ensure the group ID and Debian codename are correctly specified; incorrect values will result in a 404 Not Found error.
  • Verify that the authentication token has sufficient permissions to delete Debian distributions in the specified GitLab group.
  • Check network connectivity and the base URL configuration if the request fails to reach the GitLab API.

Links

Discussion