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
Role → Delete Multiple
AI-generatedOverview
This node operation deletes multiple roles in a system by accepting an array of role primary keys. It is useful in scenarios where bulk removal of roles is needed, such as cleaning up unused or obsolete roles in a user management system.
Use Case Examples
- Deleting multiple user roles by providing their unique identifiers in a JSON array.
- Bulk removal of roles to maintain system security and organization.
Properties
| Name | Meaning |
|---|---|
| Keys (JSON) | An array of role primary keys to be deleted |
Output
JSON
deletedRoles- List of roles that were successfully deletedfailedDeletions- List of roles that could not be deleted, if any
Dependencies
- Requires API authentication to the system managing roles, typically via an API key or token.
Troubleshooting
- Ensure the provided keys are valid role identifiers; invalid keys will cause deletion failures.
- Check API authentication credentials if the node fails to connect or authorize.
- The JSON array must be properly formatted; malformed JSON will cause errors.