GitLab API icon

GitLab API

Gitlab

Actions880

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 GitLab project.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication The authentication method used for the request, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The 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 project 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.

Dependencies

  • GitLab API authentication token or API key credential

Troubleshooting

  • Ensure the project ID and badge ID are correct and exist in the GitLab instance.
  • Verify that the authentication token has sufficient permissions to delete badges in the project.
  • Check the base URL to ensure it points to the correct GitLab instance if using a self-hosted GitLab.

Links

Discussion