Skip to navigation

Log out of an SQL session

View as Markdown

Log out of an SQL session. This will clear any associated cookies. This does NOT invalidate any access tokens.

Important Note: This endpoint only terminates the cookie-based session. Any bearer tokens previously issued will continue to work until they expire. For complete logout in a client application, you should also discard any stored bearer tokens.

Request

This endpoint expects an object.
databasestringOptional

Target database name (defaults to system if not specified)

Response

Successfully logged out
statusobjectRead-only

Errors

401
Unauthorized Error
404
Not Found Error