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.
Does anyone know how to use this endpoint to get a new token?
https://developer.broadcom.com/xapis/vsphere-automation-api/latest/vcenter/authentication/token/