Replies: 1 comment 6 replies
-
Please show your existing code and what you've tried. Presuming you are talking about the REST API, are you using |
Beta Was this translation helpful? Give feedback.
6 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.
Uh oh!
There was an error while loading. Please reload this page.
-
How can I remove 1 or more tag(s) from a virtual machine? I use the API virtualization \ virtual machine with code for the action.
Part of the code:
$TAGS["tags"] = $null
$UpdateNetBoxVM ConvertTo-JSON $TAGS
$URI = $URIBase + "/virtualization/virtual-machines" + "//"
$Respons = Invoke-RESTmethod -Method PATCH -Headers $Headers -ContentType "application/json" -Body $UpdateNetBoxVM -URI $URI
Beta Was this translation helpful? Give feedback.
All reactions