GitLab API

GitlabTool

Actions905

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 the GitLab environment.
  2. Automating application lifecycle management by removing applications no longer needed.

Properties

Name Meaning
Skip Authentication If set to true, the node will skip using authentication for the API request.
Authentication The authentication method used for the API request, defaulting to GitLab API key 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 DELETE for this operation.
Path Parameters The path parameters for the API request, specifically the application ID to delete.

Output

JSON

  • success - Indicates whether the application was successfully deleted.
  • statusCode - HTTP status code returned by the API after the delete request.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the application ID provided in the path parameters is correct and exists in the GitLab instance.
  • Verify that the API key used for authentication has sufficient permissions to delete applications.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated delete requests (rare).
  • Common error messages include 404 Not Found if the application ID does not exist, and 403 Forbidden if the API key lacks delete permissions.

Links

Discussion