deleteWebhookWithToken abstract method

  1. @DELETE.new('/webhooks/{webhook_id}/{token}')
Future<void> deleteWebhookWithToken({
  1. @Path.new('webhook_id') required SnowflakeType webhookId,
  2. @Path.new('token') required String token,
})

Delete webhook with token.

Permanently deletes the specified webhook using its ID and token for authentication. This action cannot be undone. Returns a 204 status code on successful deletion.

webhookId - The ID of the webhook.

token - The token.

Implementation

@DELETE('/webhooks/{webhook_id}/{token}')
Future<void> deleteWebhookWithToken({
  @Path('webhook_id') required SnowflakeType webhookId,
  @Path('token') required String token,
});