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.

Verify that you are logged in.

Send a DELETE request specifying the href of the current Session object.

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