Directus (denkhaus) icon

Directus (denkhaus)

Consume Directus API

Overview

This node is designed to delete a webhook by its primary key (ID) from a Directus v1 instance. It is useful in scenarios where you need to programmatically remove webhooks that are no longer needed or to clean up outdated integrations. For example, if an external service is no longer using a webhook, this node can be used to delete it directly from your workflow.

Properties

Name Meaning
ID Primary key of the webhook. This is a required string value representing the unique identifier of the webhook you want to delete. Example: "15".

Output

  • The output will contain a json field indicating the result of the deletion operation. The exact structure may depend on the API response, but typically it would confirm successful deletion or provide error details if the operation failed.

Dependencies

  • Requires access to a Directus v1 instance.
  • May require authentication credentials or API keys configured within n8n to connect to Directus.

Troubleshooting

  • Invalid ID: If the provided ID does not exist, the node may return an error indicating that the webhook was not found.
  • Authentication Errors: If credentials are missing or incorrect, you may receive authentication or authorization errors.
  • Connection Issues: Network problems or incorrect Directus instance URLs can cause connection failures.

Links and References

Discussion