Directus (flagbit) icon

Directus (flagbit)

Consume Directus API

Webhook → Delete Multiple

AI-generated

Overview

This node operation deletes multiple webhooks based on an array of webhook primary keys provided as input. It is useful for batch removal of webhooks in scenarios where you need to clean up or manage multiple webhook entries at once, such as during system maintenance or when deprecating several webhook integrations.

Use Case Examples

  1. Deleting multiple webhooks by specifying their IDs in a JSON array.
  2. Batch removal of webhooks to streamline webhook management.

Properties

Name Meaning
Keys (JSON) An array of webhook primary keys to be deleted

Output

JSON

  • deletedWebhookIds - Array of IDs of the webhooks that were successfully deleted

Dependencies

  • Requires API authentication to the Directus system to perform webhook deletions.

Troubleshooting

  • Ensure the input JSON array of keys is correctly formatted and contains valid webhook IDs.
  • Check API authentication credentials if deletion requests fail due to authorization errors.
  • Verify that the webhooks exist before attempting deletion to avoid errors related to non-existent keys.

Discussion