deleteWebhookWithToken abstract method
- @DELETE.new('/webhooks/{webhook_id}/{token}')
- @Path.new('webhook_id') required SnowflakeType webhookId,
- @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,
});