Skip to main content
Question

Deletion of computer from group via API

  • September 11, 2012
  • 3 replies
  • 0 views

Forum|alt.badge.img+3

Hi guys

I've looked through the documentation but I can't find how to do this. I can create groups and add computers to them and delete groups, but I can't for the life of me find how to remove a computer from a group. Does anyone know what the XML should look like to do this?

Sven Schott

3 replies

Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 3 replies
  • September 11, 2012

Never mind. I just figured it out. I'll hand in my geek badge at the door.


Forum|alt.badge.img+4
  • Contributor
  • 21 replies
  • September 26, 2012

Would be ideal if you'd answer your question so others that may come across this thread will benefit.


Forum|alt.badge.img+4
  • Contributor
  • 15 replies
  • July 8, 2013

In version 8.7, it appears the list of computers inside of <computers>...</computers> needs to be complete. This means that you cannot add a single computer to a static computer group by posting a XML file with just one computer entry inside the <computers>...</computers> tags.

How I tested:

  1. Use POST to create a computer group with two computers in it.
  2. Edit text file and remove one computer from the computers tag.
  3. Use PUT with the same URL as above.

The result is that the computer group only has one computer in it.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings