GitLab API

GitlabTool

Actions1000

Overview

This node operation deletes a specific application in GitLab by its ID using the GitLab API. It is useful for automating the removal of applications from a GitLab instance, for example, when cleaning up unused or obsolete applications programmatically.

Use Case Examples

  1. Deleting an application by specifying its ID to remove it from GitLab.
  2. Automating application management workflows by integrating this node to delete applications as part of a CI/CD pipeline.

Properties

Name Meaning
Skip Authentication Determines whether to skip the authentication process for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent, defaulting to https://gitlab.com.
Method The HTTP method used for the API request, defaulting to GET but can be set to DELETE for this operation.
Path Parameters The path parameters for the API request, specifically the application ID to delete.

Output

JSON

  • statusCode - HTTP status code returned by the API after attempting to delete the application.
  • responseBody - The body of the response from the API, typically empty or containing confirmation of deletion.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the application ID provided in the path parameters is correct and exists in the GitLab instance.
  • Verify that the authentication credentials are valid and have sufficient permissions to delete applications.
  • Check the baseUrl to ensure it points to the correct GitLab instance.
  • Common error messages include 404 Not Found if the application ID does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion