EMC ViPR REST API

Search (SHIFT+S)

API Reference


Logout

GET /logout

Logs out a user's authentication token and optionally other related tokens and proxytokens


Query Parameters

forceOptional query parameter, if set to true, will delete all active tokens for the user, excluding proxy tokens. Otherwise, invalidates only the token from the request Default value: false
proxytokensOptional query parameter, if set to true and combined with force, will delete all active tokens, including proxy tokens for the user. Default value: false
usernameOptional query parameter, if supplied, the user pointed by the username will be logged out instead of the currently logged in user (SECURITY_ADMIN role required to use this parameter)
notifyvdcsif set to true, will look if the token was copied to other VDCs and notify them

Required Roles

This call has no restrictions.


Response Body

Response


Examples

Request
GET https://192.168.0.0:4443/logout HTTP/1.1 

Content-Type: application/xml 
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK 
Content-Type: application/xml 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<LoggedOut>
  <user>root</user>
</LoggedOut>