Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Simon_Macpherso
Collaborator

delete-host

Hello,

Is it possible to force delete a host via mgmt_api that is a member of one or more network groups, as you have the option to do in Smart Console? 

Regards,

Simon

0 Kudos
2 Replies
PhoneBoy
Admin
Admin

If the API gives you a warning (as opposed to an error) you can pass ignore-warnings true.
If it’s an error, even though there is an ignore-errors true, you won’t be able to publish, so you’ll have to fix the resulting errors. 

Simon_Macpherso
Collaborator

Thanks @PhoneBoy.

I ran a delete-host call again see this the return output was only a warning.  

0 Kudos