GitLab API

GitlabTool

Actions1095

Ci_variables → deleteApiV4GroupsIdVariablesKey

AI-generated

Summary

Delete a specific CI/CD variable identified by key from a GitLab group resource by its ID or URL-encoded path.

Inputs

  • id (required) — The ID of the GitLab group or its URL-encoded path owned by the authenticated user.
  • key (required) — The key of the CI/CD variable to delete from the group.
  • baseUrl — Optional base URL of the GitLab instance (defaults to https://gitlab.com).
  • skipAuthentication — Optionally skip authentication when making the API request.

Output shape

no body — success/failure only

The operation performs a DELETE HTTP request to the GitLab API endpoint /api/v4/groups/{id}/variables/{key}. It does not return data; successful execution indicates the variable has been removed from the group. Errors indicate failure to delete, such as if the variable does not exist or insufficient permissions.

Links

Discussion