Fix for #1807: make facility deletion into an API request.
Merge pull request #1952 from bcipolli/1807

Facility delete as an API call