Teamleader icon

Teamleader

Consume Teamleader API

Actions67

Webhooks → Unregister

AI-generated

Overview

This node operation allows users to unregister a webhook from the Teamleader API by specifying the webhook URL and the types of events to stop listening to. It is useful for managing webhook subscriptions, especially when you want to stop receiving notifications for certain events or clean up unused webhooks.

Use Case Examples

  1. Unregister a webhook URL from receiving notifications about 'deal.created' and 'invoice.updated' events.
  2. Stop listening to multiple event types such as 'contact.added' and 'ticket.closed' by unregistering the webhook URL.

Properties

Name Meaning
URL The URL of the webhook to unregister.
Types The types of events to stop listening to for the specified webhook URL.

Output

JSON

  • success - Indicates if the webhook unregistration was successful.
  • message - Additional information or status message about the unregistration process.

Dependencies

  • Teamleader API with OAuth2 authentication

Troubleshooting

  • Ensure the webhook URL is correctly specified and matches the registered webhook URL.
  • Verify that the event types selected for unregistration are currently registered for the webhook.
  • Check API authentication credentials to ensure they are valid and have the necessary permissions.
  • Common error messages may include 'No data got returned' if the API response is empty, or authentication errors if the OAuth2 token is invalid or expired.

Links

Discussion