GitLab API icon

GitLab API

Gitlab

Actions1062

Ci_variables → putApiV4GroupsIdVariablesKey

AI-generated

Summary

Update a GitLab CI variable for a specified group by its ID and variable key.

Inputs

  • id (required) — The ID or URL-encoded path of the group owned by the authenticated user where the CI variable exists.
  • key (required) — The key of the CI variable to update.
  • putApiV4GroupsIdVariablesKey (required) — The request body containing the new value and optional attributes for the group CI variable.

Output shape

a single updated CI variable record reflecting the changes made to the group variable.

The operation requires authentication unless 'Skip Authentication' is enabled. The base URL defaults to https://gitlab.com but can be customized. The path parameters 'id' and 'key' must be provided. The request body must conform to the schema defined by the GitLab API for updating group CI variables.

Links

Discussion