Directus (flagbit) icon

Directus (flagbit)

Consume Directus API

Webhook → Delete

AI-generated

Overview

This node deletes a webhook identified by its primary key (ID) from the Directus system. It is useful for managing webhooks by removing those that are no longer needed or valid, helping to maintain a clean and efficient webhook setup.

Use Case Examples

  1. Deleting a webhook by specifying its ID to stop receiving events from that webhook.
  2. Removing outdated or unused webhooks to prevent unnecessary API calls.

Properties

Name Meaning
ID Primary key of the webhook to be deleted, used to identify which webhook to remove.

Output

JSON

  • success - Indicates whether the webhook was successfully deleted.
  • message - Additional information or confirmation message about the deletion operation.

Dependencies

  • Requires an API authentication token or key to access the Directus API and perform webhook deletion.

Troubleshooting

  • Ensure the provided webhook ID exists; otherwise, the deletion will fail with an error indicating the webhook was not found.
  • Verify that the API credentials have sufficient permissions to delete webhooks.
  • Check network connectivity and API endpoint correctness if the node fails to communicate with the Directus server.

Links

Discussion