GitLab API icon

GitLab API

Gitlab

Actions1062

Features → deleteApiV4FeaturesName

AI-generated

Summary

Deletes a GitLab feature flag by its name via the GitLab API.

Inputs

  • pathParameters (required) — Object containing the feature flag name to delete. The 'name' field is a string (the flag's key).
  • skipAuthentication — If true, the request will skip authentication (default: false).
  • authentication — The credential used for authenticating with GitLab (default: 'gitlabApi'). Hidden unless skipAuthentication is false.
  • baseUrl — Base URL of the GitLab instance (default: 'https://gitlab.com').
  • method — HTTP method to use for the request (default: 'GET'). For deleting a feature flag, set this to 'DELETE'.

Output shape

The HTTP response from GitLab, typically an empty body with a 204 status code on success.

On error, the response will contain the error details returned by the GitLab API.

Examples

Example 1: Delete a feature flag named 'new_ui'

Set Path Parameters → Name = 'new_ui', Method = 'DELETE', Authentication = 'gitlabApi', and provide valid GitLab credentials.

Links

Discussion