cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
jkaipa
Level 9
Report Inappropriate Content
Message 11 of 11

Re: How to delete a system by its ID

Jump to solution

As I mentioned, the system name could be the same. So I would lookup my system by its mac address through the below query 

https://epobox:8443/remote/core.executeQuery?target=EPOLeafNode&select=(select EPOLeafNode.AutoID EPOComputerProperties.ComputerName)&where=(where(eq EPOComputerProperties.NetAddress "061F69F6E0B7"))

This would return a unique id which I am using to call the system.delete api

https://epobox:8443/remote/system.delete?ids=12

In the above example of system.delete, the value 12 is the unique id returned from the previous call.

 

Thanks to @AdithyanT  for your help

More McAfee Tools to Help You

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community