When using the REST API to log into vCloud, I get 401 Unauthorized. I have tried passing my username and password via Basic authentication, and have tried my username in both all-uppercase and all-lowercase. The documentation says I need to use USERNAME@ORGANIZATION so I wonder if I need to find my ORGANIZATION name in vCloud. Where do I find that? I do see a name at the very top of the browser window after logging in, but it is very long and has spaces, so I'm not sure that is the correct name to use.
which organization you are trying to authenticate? system or tenant one?
if its system , try username@system.
I'm not even sure; I'm just a user of this vCloud instance, and it isn't clear to me what I would use for "organization" or "system". Is there something in the dashboard that indicates what this value would be?
You can take a look at the url you are using :
https://xxxx/cloud/ > "System" org
https://xxxx/cloud/org/Toto > "Toto" org
Btw, your org name should be displayed at the top left corner of vCD UI.
vinny