diff --git a/changelogs/fragments/247-removed-primary-key-host-in-tool-netwatch.yml b/changelogs/fragments/247-removed-primary-key-host-in-tool-netwatch.yml new file mode 100644 index 00000000..7b7e8588 --- /dev/null +++ b/changelogs/fragments/247-removed-primary-key-host-in-tool-netwatch.yml @@ -0,0 +1,2 @@ +minor_changes: + - api_info, api_modify - removed ``host`` primary key in ``tool netwatch`` path (https://github.com/ansible-collections/community.routeros/pull/248). diff --git a/plugins/module_utils/_api_data.py b/plugins/module_utils/_api_data.py index c0cdb814..65a16d82 100644 --- a/plugins/module_utils/_api_data.py +++ b/plugins/module_utils/_api_data.py @@ -3652,7 +3652,6 @@ def join_path(path): versioned=[ ('7', '>=', VersionedAPIData( fully_understood=True, - primary_keys=('name', ), fields={ 'certificate': KeyInfo(), 'check-certificate': KeyInfo(),