There is a function native to DXL that allows you to create a new directory. However, after looking through the documentation, I was unable to find a similar function to delete a directory. This functionality can be achieved by executing a system call.
Read More