/// <summary> /// Performs a soft-delete of the indicated account. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='client'> /// Client short name /// </param> /// <param name='id'> /// Id for the account /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task DeleteAccountAsync(this IAccounts operations, string client, string id, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.DeleteAccountWithHttpMessagesAsync(client, id, null, cancellationToken).ConfigureAwait(false)).Dispose(); }