GitLab API icon

GitLab API

Gitlab

Actions917

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 feature flags or toggles in GitLab projects, which can help manage feature lifecycle and deployment processes.

Use Case Examples

  1. Deleting a feature flag named 'new-ui' from a GitLab project to disable it.
  2. Automating cleanup of deprecated features in a CI/CD pipeline.

Properties

Name Meaning
Skip Authentication Determines whether to skip API authentication for the request.
Authentication Specifies the authentication method to use, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method HTTP method used for the API request, here it is DELETE to remove a feature.
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.
  • message - Additional information or error message related to the deletion operation.

Dependencies

  • GitLab API authentication credential

Troubleshooting

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

Links

Discussion