Delete network with id in sample code using API.

Bug #1106936

Change-Id: I6a7ee694a916af3f0268884ce28ca12e5efdc025
Merge "Delete network with id in sample code using API."