To log out and
terminate a vCloud API session, delete the
Session
you created when you logged in.
The logout request, like all
other authenticated requests, must include the authorization header, as shown
in
Example: Logging Out.
Prerequisites
Verify that you are logged in.
Procedure
♦ | Make a DELETE request
specifying the
href
of the current
Session object.
|
Example: Logging Out
This example deletes the
current user's
Session, which logs the
user out.
Request:
DELETE https://vcloud.example.com/api/session
x-vcloud-authorization: cn9uYmdugN8E2j96+5Lqrc3YBvFsEgDHXzyfJrJ/6bM=
Response:
204 No Content