deleteWebhookById method

Future<void> deleteWebhookById({
  1. required ContainerForWebhookIDs body,
})

Removes webhooks by ID. Only webhooks registered by the calling app are removed. If webhooks created by other apps are specified, they are ignored.

Permissions required: Only Connect and OAuth 2.0 apps can use this operation.

Implementation

Future<void> deleteWebhookById({required ContainerForWebhookIDs body}) async {
  await _client.send(
    'delete',
    'rest/api/3/webhook',
    body: body.toJson(),
  );
}