GitLab API icon

GitLab API

Gitlab

Actions1062

Badges → deleteApiV4GroupsIdBadgesBadgeId

AI-generated

Summary

Delete a specific badge from a GitLab group identified by the group ID or URL-encoded path and badge ID, using the GitLab API.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab group owning the badge.
  • badge_id (required) — The ID of the badge to delete from the group.
  • baseUrl — Optional base URL of the GitLab instance; defaults to https://gitlab.com.
  • skipAuthentication — Option to skip authentication; defaults to false.

Output shape

no body — success/failure only

The operation sends a DELETE request to /api/v4/groups/{id}/badges/{badge_id}. On success, no content is returned, indicating the badge was deleted. Authentication is required unless skipped.

Examples

Example 1: Remove a badge from group 'my-group' with badge ID 123

Set 'id' to 'my-group', 'badge_id' to 123, and ensure authentication credentials are provided.

Links

Discussion