Simple script to flag a node as "Unmanaged."
[embed:6b06e1a7-0ec1-4e43-9421-8caaf95469b6:a7a34213-9227-4cf0-a242-dd6a396afd3f:message=Update%C2%A0lines%2017-20%20with%20the%20identifying%20information%20for%20the%20node%20you%20wish%20to%20Unmanage.&type=information]

Relies on $SwisConnection
variable as defined in Practical Examples: Authenticate.
Watch Practical Examples Using the Orion API to see the step-by-step process of this and other scripts for the SolarWinds Platform API.