(args)
Cancel an API order
Cancel an API order
Cancel an API order
def delete(args):
    """Cancel an API order"""
    server_addr = _get_server_addr(args.net, args.server)

    # Fetch the ApiOrder
    order = ApiOrder(server_addr, tls_cert=args.tls_cert, tls_key=args.tls_key)
    order.get(args.uuid, args.auth_token)

    # Delete it
    order.delete()
def delete ( args ) : server_addr = _get_server_addr ( args . net , args . server ) # Fetch the ApiOrder order = ApiOrder ( server_addr , tls_cert = args . tls_cert , tls_key = args . tls_key ) order . get ( args . uuid , args . auth_token ) # Delete it order . delete ( )