Handle deletion with the API route and a DELETE request

Remove the delete-view