GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation deletes a specific Debian distribution associated with a GitLab group by its group ID and Debian 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 ID '12345' to clean up package repositories.
  2. Removing a Debian distribution by specifying additional query parameters like suite, origin, or version to target a specific distribution variant.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but DELETE is used for this operation.
Query Parameters Optional query parameters to refine the deletion request, including suite, origin, label, version, description, valid_time_duration_seconds, components, and architectures.
Path Parameters Required path parameters identifying the group and Debian distribution to delete: 'id' (group ID or URL-encoded path) and 'codename' (Debian codename).

Output

JSON

  • statusCode - HTTP status code of the delete operation response.
  • responseBody - Response body returned from the GitLab API after the delete request.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the 'id' and 'codename' path parameters are correctly set and URL-encoded if necessary.
  • Verify that the authentication token has sufficient permissions to delete Debian distributions in the specified GitLab group.
  • Check the baseUrl is correct and accessible.
  • If the API returns an error, review the response body for details on missing or invalid parameters.

Links

Discussion