added delete namespace endpoint

A rest function to delete a namespace - not sure how useful this is in the end