Replies: 1 comment 2 replies
-
"tags" needs to be a list, not an object. Try printing $vCentreJSON before sending it. To me, it looks like your code has built the following:
But it should be:
(Aside: I believe this will replace all the tags on the object, so if there are other tags, it's your responsibility to merge the list first) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I try to send a patch to a virtual machine with a tag assigned, I get errors, I send the request via powershell. Tell me how to correctly fill in the tags for sending. In the example, I'm trying to assign tag = MES to the virtual machine, the tag exists in the netbox system, I tried to fill the tag with different options, but it doesn't work. Tell me what I'm doing wrong.


Beta Was this translation helpful? Give feedback.
All reactions