/// <summary> /// Remove reference to account /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='accountId'> /// key: accountId /// </param> /// <param name='fieldname'> /// key: fieldname /// </param> /// <param name='odataid'> /// reference value /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task RemoveReferenceAsync(this IAccounts operations, string accountId, string fieldname, string removeId, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.RemoveReferenceWithHttpMessagesAsync(accountId, fieldname, removeId, null, cancellationToken).ConfigureAwait(false)).Dispose(); }