VMware Cloud Foundation 9.1.0.0400
vmware-system-user account.export PLATFORM_HOST="https://<VCF services runtime FQDN>"export ADMIN_USERNAME="[email protected]"export ADMIN_PASSWORD="<admin-password>"
curl -ks --request POST \ --url "${PLATFORM_HOST}/api/v1/identity/token" \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data-urlencode grant_type=password \ --data-urlencode "username=${ADMIN_USERNAME}" \ --data-urlencode "password=${ADMIN_PASSWORD}"
export TOKEN="<access_token>"
curl -k -H "Authorization: Bearer ${TOKEN}" -H "Content-Type: application/json" -XGET "${PLATFORM_HOST}/api/v1/tasks"|jq
VCF services runtime FQDN can be get from VCF Operations Build -> Lifecycle -> VCF Management -> Components -> VCF service runtime page.