Actions25
- User Actions
- Group Actions
- Organizational Unit Actions
- Audit Actions
Organizational Unit → Delete
AI-generatedSummary
Delete an Organizational Unit (OU) in Active Directory by specifying its Distinguished Name (DN).
Inputs
- OU DN (required) — Distinguished Name of the OU to delete, e.g., "OU=Sales,DC=example,DC=local".
- Continue on Error — If true, continue processing other items even if deleting this OU fails.
Output shape
a list of JSON objects corresponding to each input item processed, each containing a success flag, operation performed, the OU DN, and possibly error information if deletion failed.
Each output item pairs to the corresponding input item. If deletion succeeds, the output includes a success:true flag and a message confirming deletion. If failure occurs and 'Continue on Error' is false (default), execution halts with an error. Errors include message strings. Supports batch processing multiple OUs.
Examples
Example 1: Delete a single OU by DN.
Provide the OU DN of the item to delete and optionally set 'Continue on Error' to true if processing multiple OUs and you want to skip failures.