Actions111
- Item Actions
- Webhook Actions
- Collection Actions
- File Actions
- Activity Actions
- Asset Actions
- Authentication Actions
- Extension Actions
- Field Actions
- Folder Actions
- Permission Actions
- Preset Actions
- Relation Actions
- Revision Actions
- Role Actions
- Setting Actions
- User Actions
- Utility Actions
Overview
This node is designed to delete a user from a system (likely Directus, based on the naming). It is useful in scenarios where you need to automate user management tasks, such as removing users who no longer require access or cleaning up test accounts. For example, you could use this node in an n8n workflow to automatically delete a user when they are removed from another system.
Properties
| Name | Meaning |
|---|---|
| ID | Primary key of the user. This is a required string value that uniquely identifies the user to be deleted (e.g., "72a1ce24-4748-47de-a05f-ce9af3033727"). |
Output
The output will contain a JSON field reflecting the result of the delete operation. The exact structure depends on the underlying API response, but typically it may include confirmation of deletion or details about the deleted user.
Dependencies
- Requires connection to a Directus instance (or compatible API).
- Likely requires authentication credentials (such as an API key or token) configured in n8n.
Troubleshooting
- Missing or Invalid ID: If the "ID" property is missing or incorrect, the node may throw an error indicating that the user could not be found or deleted.
- Authentication Errors: If the API credentials are invalid or missing, you may receive authentication or authorization errors.
- Network Issues: Connectivity problems with the Directus server can cause request failures.