
Logs out a user's authentication token and optionally other related tokens and proxytokens
force | Optional 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 |
proxytokens | Optional query parameter, if set to true and combined with force, will delete all active tokens, including proxy tokens for the user. Default value: false |
username | Optional 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) |
notifyvdcs | if set to true, will look if the token was copied to other VDCs and notify them |
This call has no restrictions.
Response
GET https://192.168.0.0:4443/logout HTTP/1.1 Content-Type: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
HTTP/1.1 200 OK Content-Type: application/xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <LoggedOut> <user>root</user> </LoggedOut>