In vROps, we can manually exclude machines from being right-sized by clicking on the EXCLUDE VM(S) button. We're trying to figure out how to do that programmatically via the API. Is it possible to do that with the vROps API?
its not possible.
Please follow the below article hope it will solve your problem. Thank you.
Thanks, and regards,
Note: I have recently started my blogs please review and give your feedback so that I can improve