GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation deletes a specific Debian distribution identified by its codename from a GitLab project. It is useful for managing Debian package repositories within GitLab projects, allowing users to remove outdated or unnecessary Debian distributions. For example, a user can delete a Debian distribution named 'sid' from a project by specifying the project ID and the codename.

Use Case Examples

  1. Deleting a Debian distribution 'sid' from project with ID '12345'.
  2. Removing an obsolete Debian distribution from a GitLab project to clean up package repositories.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, default is GitLab API key.
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 used for this operation.
Query Parameters Optional query parameters to specify additional Debian distribution details such as suite, origin, label, version, description, valid time duration, components, and architectures.
Path Parameters Required path parameters including the project ID and the Debian distribution codename to identify the resource to delete.

Output

JSON

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

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and codename are correctly specified; incorrect values will cause the API to fail.
  • Authentication errors may occur if the API key is missing or invalid; verify credentials.
  • Network or permission issues may prevent deletion; check network connectivity and user permissions on the GitLab project.

Links

Discussion