Add delete route to the api.