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
Permission → Delete
AI-generatedOverview
This node performs the deletion of a permission rule in the Directus system. It is useful in scenarios where you need to programmatically remove access control rules based on their unique identifier, such as cleaning up outdated or incorrect permissions.
Use Case Examples
- Deleting a permission rule by specifying its ID to revoke access rights.
- Automating permission management by removing rules that are no longer needed.
Properties
| Name | Meaning |
|---|---|
| ID | Primary key of the permission rule to be deleted |
Output
JSON
success- Indicates whether the deletion was successfulid- The ID of the deleted permission rule
Dependencies
- Requires API authentication to the Directus system to perform permission deletions.
Troubleshooting
- Ensure the provided ID exists and is correct; otherwise, the deletion will fail.
- Check API authentication credentials if the node cannot connect or perform the deletion.
- Common error: 'Permission not found' indicates the ID does not correspond to any existing permission rule.
Links
- Directus API - Delete Permission - Official documentation for deleting permission rules in Directus API.