Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node allows users to delete a specific webhook by its ID within an administrative context. It is useful for managing and cleaning up webhooks that are no longer needed or valid, helping maintain the integrity and security of integrations relying on these hooks. For example, if a webhook was created for a temporary integration or testing purpose, this node can be used to remove it once it is no longer required.

Properties

Name Meaning
Id The unique identifier (number) of the webhook to delete

Output

The node outputs JSON data representing the result of the deletion operation. Typically, this will confirm whether the webhook was successfully deleted or provide error information if the deletion failed. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • The node interacts with an API endpoint at a base URL configured in the credentials.
  • Proper permissions are necessary to perform administrative webhook deletions.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent webhook ID will likely result in an error response from the API.
    • Insufficient permissions or incorrect API credentials may cause authorization failures.
    • Network connectivity problems can prevent successful API calls.
  • Error messages and resolutions:

    • "Webhook not found" — Verify the webhook ID is correct and exists.
    • "Unauthorized" or "Forbidden" — Check that the API key has the necessary permissions.
    • Timeout or network errors — Ensure stable internet connection and correct API endpoint configuration.

Links and References

  • Refer to the external service’s API documentation for webhook management and deletion endpoints.
  • Consult n8n documentation on setting up API credentials and handling HTTP request nodes for further customization.

Discussion