Added delete function to REST API.
Can interact with services.