It's better to sse OptionsMethod to check whether delete is allowed for the path you specified. If it's not allowed, I guess either your path is wrong or the content is protected by jackrabbit, for example datastore is not supposed to be deleted like this.
Good luck!
