GitLab API

GitlabTool

Actions1000

Overview

This node operation deletes a specific badge from a project in GitLab using the GitLab API. It is useful for managing project badges by removing those that are no longer needed or relevant. For example, a user can delete a badge identified by its badge ID from a project identified by its project ID or URL-encoded path.

Use Case Examples

  1. Deleting a badge from a project to update project status displays.
  2. Removing outdated or incorrect badges from a project.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, default is GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters for the API path, including project ID or URL-encoded path and badge ID to delete.

Output

JSON

  • success - Indicates if the badge deletion was successful.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and badge ID are correct and exist in the GitLab instance.
  • Verify that the API key has sufficient permissions to delete badges.
  • Check the base URL is correct for the GitLab instance being used.

Links

Discussion