Actions118
- Item Actions
- Activity Actions
- Asset Actions
- Authentication Actions
- Collection Actions
- Extension Actions
- Field Actions
- File Actions
- Folder Actions
- Permission Actions
- Preset Actions
- Relation Actions
- Revision Actions
- Role Actions
- Server Actions
- Setting Actions
- User Actions
- Utility Actions
- Webhook Actions
Webhook → Delete Multiple
AI-generatedOverview
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
- Deleting multiple webhooks by specifying their IDs in a JSON array.
- 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.