delete needs to return id upon success.
Fix delete url