From 4b01364032dec1b27db8c2f55e67a5b92de12693 Mon Sep 17 00:00:00 2001 From: Thomas Markwalder Date: Mon, 8 Sep 2025 09:20:30 -0400 Subject: [PATCH] [#3961] Updated API files modified: doc/sphinx/arm/hooks-cb-cmds.rst modified: src/share/api/remote-option-def4-del.json modified: src/share/api/remote-option-def6-del.json --- doc/sphinx/arm/hooks-cb-cmds.rst | 4 ++-- src/share/api/remote-option-def4-del.json | 3 ++- src/share/api/remote-option-def6-del.json | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/sphinx/arm/hooks-cb-cmds.rst b/doc/sphinx/arm/hooks-cb-cmds.rst index 216f12fa55..1bcd06da9b 100644 --- a/doc/sphinx/arm/hooks-cb-cmds.rst +++ b/doc/sphinx/arm/hooks-cb-cmds.rst @@ -998,8 +998,8 @@ contain exactly one tag and cannot include the ``null`` value. As of Kea 3.1.2, before deleting an option definition, the server will first check if there are any options specified that depend upon that defintion. If so the delete command will be rejected with an error message explaining why. -This default behavior may be overridden by ihcluding an optional ``force`` -parameter as shown below: +This default behavior may be overridden by setting the optional ``force`` +parameter to true as shown below: .. code-block:: json diff --git a/src/share/api/remote-option-def4-del.json b/src/share/api/remote-option-def4-del.json index 9c8efca6b0..a2c497266d 100644 --- a/src/share/api/remote-option-def4-del.json +++ b/src/share/api/remote-option-def4-del.json @@ -5,7 +5,7 @@ "This command deletes a DHCPv4 option definition from the configuration database." ], "cmd-comment": [ - "This command includes a list with exactly one option definition specification, comprising an option name and code. The ``server-tags`` list is mandatory and must contain exactly one server tag. Specifying an empty list, a value of ``null``, or multiple server tags will result in an error." + "This command includes a list with exactly one option definition specification, comprising an option name and code. The ``server-tags`` list is mandatory and must contain exactly one server tag. Specifying an empty list, a value of ``null``, or multiple server tags will result in an error. As of Kea 3.1.2, before deleting an option definition, the server will first check if there are any options specified that depend upon that defintion. If so the delete command will be rejected with an error message explaining why. This default behavior may be overridden by setting the optional ``force`` parameter to true." ], "cmd-syntax": [ "{", @@ -14,6 +14,7 @@ " \"option-defs\": [ {", " \"code\":