UNSOLVED

JB73034

updated

8 years ago

J

JB73034

1 Rookie

•

2 Posts

0

8438

March 12th, 2019 07:00

OMEnterprise Rest API remove device from OME

How do you remove a device from OMEnterprise with a Rest API call?

 

We are working on migrating from OMEssentials to OMEnterprise.  

and currently our OMEssentials has a PowerShell Module to add new Dell Servers into the application and remove discoveries and devices of systems we our decommissioning.

we have created the API calls to create and remove the Discoveries and jobs but we have not found how to remove the device. 

  • JB73034

    1 Rookie

    •

    2 Posts

    8204

    0

    Posted March 13th, 2019 12:00

    With the API guide we are able to create query and remove the discovery jobs but we are not able to delete a device.  the guide has no info for removing a device jus adding it and removing it from Exclusions 

  • Jimstra

    13 Posts

    8211

    0

    Posted March 13th, 2019 12:00

    I haven't done much research into this aspect, but this could be very useful.  I've seen other people ask for information and this guide below is the only thing I've seen on the REST API.  Let us know if you figure out a way to create/remove discovery jobs through the API.

    https://topics-cdn.dell.com/pdf/openmanage-enterprise-modular-v10010-poweredge-mx7000_api-guide_en-us.pdf

  • 8180

    1

    Posted March 14th, 2019 09:00

    You should be able to delete a device (specified by ID) using a DELETE call on /api/DeviceService/Devices( )

     

  • Bruniche

    1 Rookie

    •

    20 Posts

    •

    8 Points

    8125

    0

    Posted March 18th, 2019 00:00

    Hello,

    I open the same thread few times ago without answer.

    https://www.dell.com/community/Dell-OpenManage-Enterprise/OME-3-1-Redfish-command-to-delete-an-asset-from-OME/td-p/7250218

    I ask to our DELL vendor the good way to make this (2 weeks ago) but no return since.

    @Raajeev Kalyan :

    Delete method doesn't exist on this PATH (only GET like describe in the doc).

    NB : it's working indeed. I got the same return by our vendor & after testing again, it's working for me too.