GitLab API

GitlabTool

Actions1095

Groups → getApiV4GroupsIdCustomAttributesKey

AI-generated

Summary

Retrieves a specific custom attribute value for a GitLab group by ID and key.

Inputs

  • key (required) — The key of the custom attribute to retrieve.
  • id (required) — The ID of the GitLab group.

Output shape

a single record

Returns the value of the specified custom attribute. If the key does not exist, the API typically returns a 404 response.

Examples

Example 1: Retrieve a custom attribute named 'department' for group ID 42

Path parameters: id=42, key=department

Links

Discussion