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 specific permission rule in a Directus instance. It is useful in scenarios where you need to programmatically manage access controls, such as removing outdated or unnecessary permission rules from your Directus project. For example, you might use this node in an automation workflow to clean up permissions after a user role is removed or when updating security policies.
Properties
| Name | Meaning |
|---|---|
| ID | Primary key of the permission rule. This is a required field and should contain the unique identifier (e.g., "34") of the permission rule you want to delete. |
Output
- The output will be a JSON object indicating the result of the deletion operation. Typically, it may include confirmation of deletion or details about the deleted permission rule.
- No binary data is produced by this operation.
Dependencies
- Requires access to a Directus instance with appropriate API credentials and permissions to delete permission rules.
- n8n must be configured to connect to the relevant Directus environment.
Troubleshooting
- Invalid ID: If the provided ID does not correspond to an existing permission rule, the node may return an error indicating that the resource was not found.
- Insufficient Permissions: If the API credentials do not have rights to delete permissions, an authorization error will occur.
- Connection Issues: Network or configuration errors may prevent communication with the Directus instance.