refreshWebhooks method
Extends the life of webhook. Webhooks registered through the REST API expire after 30 days. Call this operation to keep them alive.
Unrecognized webhook IDs (those that are not found or belong to other apps) are ignored.
Permissions required: Only Connect and OAuth 2.0 apps can use this operation.
Implementation
Future<WebhooksExpirationDate> refreshWebhooks(
{required ContainerForWebhookIDs body}) async {
return WebhooksExpirationDate.fromJson(await _client.send(
'put',
'rest/api/3/webhook/refresh',
body: body.toJson(),
));
}