-
Notifications
You must be signed in to change notification settings - Fork 4
DeleteWebhooksByTargetModelIdAsync
Rasmus Wulff Jensen edited this page Nov 1, 2023
·
3 revisions
Delete Webhooks using indicated target ModelId (WARNING: THERE IS NO WAY GOING BACK!!!).
/// <summary>
/// Delete Webhooks using indicated target ModelId (WARNING: THERE IS NO WAY GOING BACK!!!).
/// </summary>
/// <param name="targetIdModel">The Target Model Id (example an ID of a Board)</param>
/// <param name="cancellationToken">Cancellation Token</param>
public async Task DeleteWebhooksByTargetModelIdAsync(string targetIdModel, CancellationToken cancellationToken = default) {...}
var boardId = "63c939a5cea0cb006dc9e88b";
var idOfTypeYouWishToMonitor = boardId;
await _trelloClient.DeleteWebhooksByTargetModelIdAsync(idOfTypeYouWishToMonitor);
If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')