Is it possible to erase all the content and files from an OrgUnit in the Recycle Bin?
I looked into the API documentation and didn't find a way to erase files and the content of an OrgUnit in the recycle bin.
Can someone help me?
Answers
- 
            Hi Tales, Thank you for reaching Brightspace Community . To delete an Orgunit permanently from the recycle bin you can use the following API: DELETE /d2l/api/lp/(version)/orgstructure/recyclebin/(orgUnitId) To permanently remove the stuff in a course you would need to use the data purge tool. Hope this helps ! Regards, Heba 
- 
            Hi Tales Further to your question, if you mean to delete such things from the orgunit while it exists in the recycle bin then I would say "no". I believe you would need to restore the item from the recycle bin before being able to perform operations on it (see > POST /d2l/api/lp/(version)/orgstructure/recyclebin/(orgUnitId)/restore I hope that's helpful Matt 


