added delete endpoint