5.6
Table Of Contents
- vCloud Air Platform Programmer's Guide
- Contents
- About this Programmer's Guide
- About the vCloud Air Platform APIs
- The VMware APIs for Cloud Automation
- XML Namespace Identifiers
- Overview of Object Types
- Link Relationships in the Object Types
- API Versioning
- Roles for the APIs for Cloud Automation
- Authentication and Authorization
- vCloud Air Platform APIs Schema Reference
- Java Code Samples for Cloud Automation
- About the Examples in this Programmer's Guide
- Hello vCloud Air : A RESTful Workflow
- Index
<NetworkQuota>20</NetworkQuota>
<UsedNetworkCount>0</UsedNetworkCount>
<VmQuota>0</VmQuota>
<IsEnabled>true</IsEnabled>
<VdcStorageProfiles>
<VdcStorageProfile
type="application/vnd.vmware.vcloud.vdcStorageProfile+xml"
name="NFS"
href="https://vcloud-examplehost1.example.com/api/vdcStorageProfile/vdc-7" />
</VdcStorageProfiles>
</Vdc>
Log Out
To log out and end a vCloud Air session, delete the session you created when you logged in. The logout
request, like all other authenticated requests, must include the Authorization header.
Prerequisites
Verify that you are logged in.
Procedure
u
Send a DELETE request specifying the href of the current Session object.
Example: Logout Request and Response
This example deletes the current user's session, which logs the user out.
Request:
DELETE https://vchs.vmware.com/api/vchs/session
Type None
Response:
204 No Content
Chapter 2 Hello vCloud Air : A RESTful Workflow
VMware, Inc. 23