VMware {code} Community
xpxrzerr
Contributor
Contributor

Where do I find the Organization name in vCloud which is used to log in via the REST API?

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.

Tags (2)
Reply
0 Kudos
3 Replies
Sreejesh_D
Virtuoso
Virtuoso

which organization you are trying to authenticate? system or tenant one?

if its system , try username@system.

Reply
0 Kudos
xpxrzerr
Contributor
Contributor

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?

Reply
0 Kudos
vinny95
Contributor
Contributor

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

Reply
0 Kudos