def delete ( args ) : m = RiverManager ( args . hosts ) m . delete ( args . name )
using python to delete a map service
Delete a river by name
def delete(args):
    """
    Delete a river by name
    """
    m = RiverManager(args.hosts)
    m.delete(args.name)