Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://localhost/api/v2/logout/ \ --header 'X-Cockroach-API-Session: <api-key>'
{ "logged_out": true }
Log out, invalidating the API session token.
Token for logged-in REST session. Use /login/ to log in and get a session token. For additional information, see cockroachlabs.com/docs/stable/cluster-api.
/login/
Logout response.
Indicates whether logout was succeessful.