GitLab API icon

GitLab API

Gitlab

Actions880

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 delete a freeze period by specifying the project ID and the freeze period ID to keep the project's freeze schedule up to date.

Use Case Examples

  1. Deleting a freeze period from a project to allow changes during that period.
  2. Removing an incorrectly created freeze period from a project.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication The authentication method used for the request, typically GitLab API authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The 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

  • statusCode - The HTTP status code returned by the API after the delete operation.
  • responseBody - The body of the response from the API, typically empty for a successful delete.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID and freeze period ID are correct and exist in the GitLab instance.
  • Verify that the authentication credentials have sufficient permissions to delete freeze periods.
  • Check the base URL to ensure it points to the correct GitLab instance.
  • Common error messages include 404 Not Found if the project or freeze period does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion