vCenter Rest API – Token based authentication
I want to use vCenter REST APIs with token-based authentication. Specifically, I need to first make a request to get an authentication token by passing a username and password, and then use that token in the authorization header in subsequent calls.