GitLab API icon

GitLab API

Gitlab

Actions1062

Badges → putApiV4GroupsIdBadgesBadgeId

AI-generated

Summary

Update a specific badge for a group identified by its ID or URL-encoded path, modifying its properties as specified in the request body.

Inputs

  • id (required) — The ID or URL-encoded path of the group owned by the authenticated user whose badge is to be updated.
  • badge_id (required) — The ID of the badge to update within the specified group.
  • putApiV4GroupsIdBadgesBadgeId (required) — The request body containing the badge properties to update according to the GitLab API schema for group badges.

Output shape

a single record representing the updated badge object as returned from the GitLab API

Requires authentication via the gitlabApi credential unless 'Skip Authentication' is enabled. The base URL defaults to https://gitlab.com but can be customized. The operation uses the HTTP PUT method to update the badge at the path /api/v4/groups/{id}/badges/{badge_id}.

Examples

Example 1: Update a group badge with new properties

Provide the group ID or its URL-encoded path, the badge ID to update, and a request body containing the fields to modify in the badge.

Links

Discussion