I've been playing around with this api call iaas/api/machines and setting the select statement in various ways and any field I use seems to work aside from "deploymentId" . Have I found a bug or is this intended behavior? Hoping someone can confirm for me.
I think that api returns all discovered machines? So those not onboarded wouldn't have a deploymentId...not sure if that's the case here, but thought it worth mentioning at least.
The information is there so if you don't use a select statement it's included it's only when you specifically dither down the return result that it is not returned.
Looks like your response got cut off @xian_ ?
Sorry, I removed my answer when I realized that I misread your question.