bluesky_queueserver_api.http.REManagerAPI.logout¶
- REManagerAPI.logout()¶
Log out. The API sends
/auth/logout
API request to the server and then clears local authorization key. Currently the/auth/logout
API is intended for clearing browser cookies and serves no useful purpose for Python scripts and application.REManagerAPI.logout()
is implemented for completeness. The same effect may be achieved by callingREManagerAPI.set_authorization_key()
, which does not call/auth/logout
API, but clears the default security key.- Returns:
- dict
Empty dictionary:
{}
.
- Raises:
- RequestParameterError
Incorrect or insufficient parameters in the API call.
- HTTPRequestError, HTTPClientError, HTTPServerError
Error while sending and processing HTTP request.