GitLab API icon

GitLab API

Gitlab

Actions917

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 to delete it programmatically.

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 required in the URL path to identify the project and freeze period to delete.

Output

JSON

  • success - Indicates if the freeze period was successfully deleted.
  • statusCode - HTTP status code returned by the API.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and freeze period ID are correct and exist in GitLab.
  • Check that the API key has sufficient permissions to delete freeze periods.
  • If authentication is skipped, the request will likely fail due to lack of authorization.
  • Common error messages include 404 Not Found if the project or freeze period does not exist, and 403 Forbidden if the API key lacks permissions.

Links

Discussion