GitLab API

GitlabTool

Actions1000

Overview

This node operation deletes a specific freeze period from a GitLab project using the GitLab API. It is useful for managing project freeze periods by removing outdated or unnecessary freeze periods. For example, a user can automate the removal of a freeze period by specifying the project ID and the freeze period ID.

Use Case Examples

  1. Delete a freeze period from a project by providing the project ID and freeze period ID.
  2. Automate cleanup of freeze periods in GitLab projects.

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.
Path Parameters Parameters for the API path, including project ID and freeze period ID.

Output

JSON

  • statusCode - HTTP status code of the delete operation response.
  • body - Response body from the GitLab API after deleting the freeze period.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and freeze period ID are correct and exist in GitLab to avoid 404 errors.
  • Check that the API key has sufficient permissions to delete freeze periods in the project.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated requests for this operation.

Links

Discussion