Deletes the node code, which has no children. 9.x took the code from the route's path (DELETE .../{code}); a 10.x route carries the aggregate's id only, so the code is in the command's body.
DELETE .../{code}
The event of the deletion of previous, the node as it was.