GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation deletes a specific feature in GitLab by its name using the GitLab API. It is useful for automating the removal of features in GitLab projects or instances, such as disabling experimental or deprecated features programmatically.

Use Case Examples

  1. Deleting a feature named 'feature123' from a GitLab instance to clean up unused features.
  2. Automating feature management by removing features that are no longer needed in a CI/CD pipeline.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication 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.
Method The HTTP method used for the API request, defaulting to GET but can be set to DELETE for this operation.
Path Parameters Parameters included in the API request path, specifically the 'name' of the feature to delete.

Output

JSON

  • success - Indicates whether the feature deletion was successful.
  • statusCode - HTTP status code returned from the API request.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the 'name' path parameter is correctly set to the feature name intended for deletion.
  • Verify that the GitLab API authentication credentials are valid and have sufficient permissions to delete features.
  • Check the baseUrl to ensure it points to the correct GitLab instance.
  • Common error messages may include 401 Unauthorized (authentication failure), 404 Not Found (feature name does not exist), or 403 Forbidden (insufficient permissions).

Links

Discussion