GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation deletes a specific badge from a group in GitLab using the GitLab API. It is useful for managing group badges programmatically, such as removing outdated or incorrect badges from a group. For example, an admin can automate badge cleanup for groups they manage.

Use Case Examples

  1. Deleting a badge from a GitLab group by specifying the group ID and badge ID.
  2. Automating badge management in GitLab groups to maintain accurate group metadata.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Type of authentication used, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET but DELETE is used for this operation.
Path Parameters Parameters required in the URL path to identify the group and badge to delete.

Output

JSON

  • statusCode - HTTP status code of the delete operation response.
  • responseBody - Response body returned from the GitLab API after deleting the badge, typically empty or confirmation message.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID and badge ID are correct and the authenticated user has permission to delete badges in the group.
  • If authentication is skipped, the request may fail due to lack of permissions.
  • Common errors include 404 Not Found if the group or badge does not exist, and 403 Forbidden if the user lacks permissions.

Links

Discussion