-
Notifications
You must be signed in to change notification settings - Fork 4
UpdateWebhookAsync
Rasmus Wulff Jensen edited this page Nov 1, 2023
·
3 revisions
Update a webhook
/// <summary>
/// Update a webhook
/// </summary>
/// <param name="webhookWithChanges">The Webhook with changes</param>
/// <param name="cancellationToken"></param>
/// <returns>The Updated Webhook</returns>
public async Task<Webhook> UpdateWebhookAsync(Webhook webhookWithChanges, CancellationToken cancellationToken = default) {...}
Webhook webhook = await _trelloClient.GetWebhookAsync("63e2892778670f4f7b7ffa2e");
webhook.CallbackUrl = "https://www.host.com/api/NewTrelloWebhookEndpointReceiverUrl";
var updatedWebhook = await _trelloClient.UpdateWebhookAsync(webhook);
If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')