GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation deletes a specific application in GitLab by its ID. It is useful for managing and cleaning up applications registered in a GitLab instance, especially when an application is no longer needed or should be removed for security or organizational reasons. For example, a user can automate the deletion of outdated or unused applications in their GitLab environment.

Use Case Examples

  1. Delete an application by specifying its ID to remove it from GitLab.
  2. Automate cleanup of applications in GitLab by deleting those that meet certain criteria.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Type of authentication to use, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but can be set to DELETE for this operation.
Path Parameters Parameters to be included in the request path, specifically the application ID to delete.

Output

JSON

  • statusCode - HTTP status code of the delete operation response
  • responseBody - Response body returned from the delete operation, typically empty or confirmation message

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the application ID provided in the path parameters is correct and exists in the GitLab instance.
  • If authentication is enabled, verify that the GitLab API key credential is valid and has sufficient permissions to delete applications.
  • Check the baseUrl to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.
  • Common error messages include 404 Not Found if the application ID does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion