Skip to content

ArchiveAllCardsInListAsync

Rasmus Wulff Jensen edited this page Nov 1, 2023 · 5 revisions

Back to Card Features

Archive all cards on in a List

Signature

/// <summary>
/// Archive all cards on in a List
/// </summary>
/// <param name="listId">The id of the List that should have its cards archived</param>
/// <param name="cancellationToken">Cancellation Token</param>
public async Task ArchiveAllCardsInListAsync(string listId, CancellationToken cancellationToken = default) {...}

Examples

string idOfListYouWishToArchiveAllcardsOn = "53c93955ceaa0cb006dc3e9dd";

await _trelloClient.ArchiveAllCardsInListAsync(idOfListYouWishToArchiveAllcardsOn);

Clone this wiki locally