GitLab API

GitlabTool

Actions1095

Groups → putApiV4GroupsIdCustomAttributesKey

AI-generated

Summary

Updates a specific custom attribute for a GitLab group. Accepts the attribute key and value via the request body and updates the group's custom attributes metadata.

Inputs

  • key (required) — The key of the custom attribute to update (path parameter).
  • id (required) — The ID of the GitLab group (path parameter).
  • value (required) — The new value for the custom attribute (request body).

Output shape

No body — returns success/failure only.

Returns a 200 OK response on success and 404 if the group or key does not exist. Updates the custom attribute metadata for the specified group.

Examples

Example 1: Update a custom attribute named 'cost_center' for group ID 123.

Path: id=123, key=cost_center; Body: value='500'

Links

Discussion