Step 4. Perform Logout
To finish working with Veeam Backup Enterprise Manager REST API and log out:
- Send the GET HTTP request to the /logonSessions resource to get a list of existing logon sessions:
Request: GET https://localhost:9398/api/logonSessions
Response: 200 OK
Response Body: <LogonSessions xmlns="http://www.veeam.com/ent/v1.0"> |
- Examine the representation of the logon session and find a link to logon session deletion:
<Link Rel="Delete" Type="LogonSession" Href="https://localhost:9398/api/logonSessions/695f7cda-e4a6-4d9c-9603-8a6b05693c57" |
- Send the DELETE HTTP request to the obtained link:
Request: DELETE https://localhost:9398/api/logonSessions/695f7cda-e4a6-4d9c-9603-8a6b05693c57
Response: 204 No Content |
- If you are using Veeam Backup Enterprise Manager Web Client, close the browser window.
The logon session will be deleted.