Revokes the server-side login session bound to the bearer token, immediately invalidating its access and refresh tokens, and clears the UI session gate cookie.
POST
/auth/logout
curl \
--request POST 'https://agentengine.mongodb.com/auth/logout' \
--header "Authorization: $API_KEY"
Response examples (401)
{
"code": "string",
"error": "string",
"success": true
}
Response examples (503)
{
"code": "string",
"error": "string",
"success": true
}