A directory can be removed with
rmdir directory
The directory being deleted must be empty (i.e., cannot have any child directories, or files), and the user must have write permission.