GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation deletes a specific project topic in GitLab by its ID. It is useful for managing and cleaning up project topics programmatically within GitLab repositories. For example, if a user wants to remove outdated or irrelevant topics from their projects, this operation can be used to automate that process.

Use Case Examples

  1. Deleting a project topic by specifying its ID to keep the project topics list relevant and organized.
  2. Automating the cleanup of project topics in bulk by iterating over topic IDs and deleting them.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public endpoints or testing.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to 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 - The ID of the deleted project topic, confirming the deletion.
  • status - The status of the delete operation, indicating success or failure.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the topic ID provided in the path parameters is valid and exists in the GitLab project.
  • Authentication errors may occur if the API key is missing, invalid, or lacks sufficient permissions to delete topics.
  • Network or base URL misconfiguration can cause request failures; verify the baseUrl is correct and accessible.
  • The node may throw errors if the HTTP method is not set to DELETE for this operation; ensure the method is correctly configured.

Links

Discussion