-
Hi,
Thanks a lot for any hints. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In order to PATCH a VM you need to use the resource for an individual VM, identified by its database ID: |
Beta Was this translation helpful? Give feedback.
https://netbox.example.com/api/virtualization/virtual-machines/
is the resource for "all virtual machines"https://netbox.example.com/api/virtualization/virtual-machines/?name=playground01
is the resource for "all virtual machines", filtered to a subset of zero or more. It doesn't matter if it happens to be exactly one.In order to PATCH a VM you need to use the resource for an individual VM, identified by its database ID:
https://netbox.example.com/api/virtualization/virtual-machines/NNN/