GitLab API icon

GitLab API

Gitlab

Actions1062

Badges → putApiV4ProjectsIdBadgesBadgeId

AI-generated

Summary

Update an existing badge of a specific GitLab project by project ID and badge ID, modifying its details as specified in the request body.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project owned by the authenticated user.
  • badge_id (required) — The ID of the badge to update within the project.
  • Request Body (required) — An object defining the desired changes to the badge's properties according to the GitLab Badge update schema.
  • baseUrl — Optional base URL for the GitLab instance; defaults to https://gitlab.com.
  • skipAuthentication — Whether to skip authentication for this request; defaults to false (authentication is used).

Output shape

a single JSON object representing the updated badge.

Returns the updated badge details as response from the GitLab API. Requires authentication unless explicitly skipped. The path parameters and request body must be set correctly to identify and modify the badge.

Links

Discussion