-
Notifications
You must be signed in to change notification settings - Fork 4
RemoveMembersFromCardAsync
Rasmus Wulff Jensen edited this page Nov 1, 2023
·
2 revisions
Remove one or more Members from a Card
/// <summary>
/// Remove one or more Members from a Card
/// </summary>
/// <param name="cardId">Id of the Card</param>
/// <param name="cancellation">Cancellation Token</param>
/// <param name="memberIdsToRemove">One or more Ids of Members to remove</param>
public async Task<Card> RemoveMembersFromCardAsync(string cardId, CancellationToken cancellation = default, params string[] memberIdsToRemove) {...}
var cardId = "63c939a5cea0cb006dc9e9dd";
var memberId1 = "dasdasdas333d33dedc8e332";
var memberId2 = "63d1239e857afaa8b003c633";
Card cardWithRemovedMembers = await _trelloClient.RemoveMembersFromCardAsync(cardId, memberId1, memberId2);
If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')