Wedof icon

Wedof

Facilitez-vous la vie avec Wedof !

Actions169

Webhook → Mettre À Jour Un Webhook

AI-generated

Overview

This node operation allows users to update an existing webhook in the Wedof system. It is useful for modifying webhook settings such as the events it listens to, its secret key, enabled status, and SSL handling options. This operation is beneficial when you need to change webhook configurations without creating a new webhook, for example, updating the secret for security or changing the events to monitor.

Use Case Examples

  1. Updating a webhook to listen to new events and change its secret key.
  2. Enabling or disabling a webhook based on application needs.
  3. Configuring the webhook to ignore SSL issues if necessary.

Properties

Name Meaning
ID Du Webhook The unique identifier of the webhook to update, used in the request URL.
Évènements List of events that the webhook should listen to, sent in the request body.
Secret The secret key for the webhook, used for securing webhook payloads, sent in the request body.
Activé Boolean flag to enable or disable the webhook, sent in the request body.
Ignorer SSL Boolean flag to specify whether SSL certificate validation should be ignored for the webhook, sent in the request body.

Output

JSON

  • id - The unique identifier of the updated webhook.
  • events - The list of events the webhook is configured to listen to.
  • secret - The secret key associated with the webhook.
  • enabled - Indicates whether the webhook is enabled or disabled.
  • ignoreSsl - Indicates whether SSL certificate validation is ignored for the webhook.

Dependencies

  • Wedof API with an API key credential

Troubleshooting

  • Ensure the webhook ID is correct and exists in the Wedof system to avoid 404 errors.
  • Verify that the API key credential has sufficient permissions to update webhooks.
  • If SSL errors occur, consider enabling the 'Ignore SSL' option, but be aware of security implications.

Discussion