Hi, I am attempting unregister a machine that is part of an onboarded deployment (this works using the day2 action in the GUI) via a POST call to the /relocation/api/wo/unregister-machine API.
The request returns a 200 code and the link to the unregistered machine; a response consistent with a successful request, as described in the API documentation.
However, the machine is never unregistered and no unregister event is triggered. What does happen is:
- the deployment network is removed
- the machine now appears in the "unmanaged" folder within the tree-picker view of the vRA plugin.
I am providing the following request content: {"resourceLink":"/resources/compute/{machineResourceId}"}. I get the machine resource Id from the vRA:Machine's self.href in the linksExtension. I have confirmed this Id is the same one returned from the iaas/api/machines API for this machine.
Any ideas as to why this is happening and/or experience using this API?
Thanks!