From bf512b985dc05deeeb3f199cd9df6b346c468ad5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Sun, 4 Jan 2026 09:44:54 -0500 Subject: [PATCH] api: file_delete_force MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- doc/api-extensions.md | 4 ++++ internal/version/api.go | 1 + 2 files changed, 5 insertions(+) diff --git a/doc/api-extensions.md b/doc/api-extensions.md index df8407775..fc87e5a18 100644 --- a/doc/api-extensions.md +++ b/doc/api-extensions.md @@ -2962,3 +2962,7 @@ This adds support for running virtual machines from `QCOW2` images. Support is c ## `oidc_allowed_subnets` This indicates support by Incus for the custom `incus.allowed_subnets` OIDC claim. + +## `file_delete_force` + +This adds a new `X-Incus-force` HTTP header that when set to `true` allows for recursive deletion of instance or custom volume files. diff --git a/internal/version/api.go b/internal/version/api.go index 625cfae17..e1a55ce4b 100644 --- a/internal/version/api.go +++ b/internal/version/api.go @@ -513,6 +513,7 @@ var APIExtensions = []string{ "ovn_nic_limits", "storage_lvmcluster_qcow2", "oidc_allowed_subnets", + "file_delete_force", } // APIExtensionsCount returns the number of available API extensions.