Deletion with upsert is not working

explain “not working” what are you querying after this upsert delete, and what is the response?