Lumen help
To access the VMware Cloud Director (vCD) API that is part of Lumen Private Cloud on VMware Cloud Foundation, you need to create a new API session. Once you create the new session, use the VMware API documentation to learn more about the APIs.
Note: You need Lumen Private Cloud on VMware Cloud Foundation login credentials with appropriate rights to access the APIs.
To create a new API session:
To begin using the API, request the system to create a session object. In this request, supply your credentials in an authorization header of the form prescribed by the identity provider that your organization uses. The response includes an authorization token, which you must include in subsequent requests.
Every version of the vCloud API supported by VMware Cloud Director has a login URL that a client can obtain by making an unauthenticated GET request to the API/versions URL. See example: Retrieve the Login URL and List of Supported API Versions. Because all other vCloud API requests must be authenticated, any vCloud API workflow must begin with a login request that creates a session and returns an authorization token in the value of the x-vcloud-authorization header. The token must be included in subsequent vCloud API requests.
To create a session object, supply your credentials in an authorization header of the form prescribed by the identity provider that your organization uses, then POST a request to the vCloud API login URL. This request does not have a body. All the information required to create a session is included in the authorization header.
Response: The response header includes a re-usable x-vcloud-authorization authorization token and a session element whose link elements reference the vCloud API objects to which you have access rights.
Important: The authorization token expires after a configurable interval of client inactivity. After the token expires, you must log in again to obtain a new token. The default interval is 30 minutes, but your system administrator can change this default.
Explore Edge Private Cloud