Logout of the current session

View as MarkdownOpen in Claude

Logs the user out of the gateway session. Any further activity requires re-authentication.

POST /logout

Request Object

No params or body content should be sent.

1request_url = "{baseUrl}/logout"
2json_content= {}
3requests.post(url=request_url, json=json_content)

Response Object

status: bool.
Returns true if the session was ended.

{
"status":true
}