GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation deletes a project topic in GitLab by its ID. It is useful for managing and cleaning up topics associated with projects in GitLab repositories. For example, if a topic is no longer relevant or was created by mistake, this operation allows users to remove it programmatically within an automation workflow.

Use Case Examples

  1. Deleting a specific project topic by providing its ID to keep the project topics organized.
  2. Automating cleanup of unused or obsolete topics in GitLab projects.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used for the request, 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 but DELETE is used for this operation.
Path Parameters Parameters to be included in the request path, specifically the ID of the topic to delete.

Output

JSON

  • id - ID of the deleted project topic
  • statusCode - HTTP status code of the delete operation response
  • message - Response message or confirmation of deletion

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the provided topic ID exists and is correct; otherwise, the deletion will fail with a not found error.
  • Check that the API key has sufficient permissions to delete project topics in GitLab.
  • If skipping authentication, the request will likely fail unless the GitLab instance allows anonymous deletions, which is uncommon.

Links

Discussion