BeeBridge AIBeeBridge AI
API Reference
Management APIUser sign-in and registration
⚠️Compliance notice: Use this project only for lawfully authorized API gateway, internal management, and private deployment scenarios. Follow upstream terms of service, platform rules, regulatory requirements, and content safety requirements.

Sign out of a session

Revoke a sign-in session with a valid session Bearer or new_api_refresh cookie. Without credentials, an idempotent success does not prove a specific session was revoked. X-Auth-Session may bind the expected SID; cookie requests enforce Origin checks.

POST
/api/user/auth/logout
AuthorizationBearer <token>

Use the session access_token returned by password or OAuth sign-in. A PAT cannot manage or create PATs.

In: header

Header Parameters

X-Auth-Session?string
new_api_refresh?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.beeaicloud.com/api/user/auth/logout"
{
  "success": true,
  "message": "string",
  "data": {
    "revoked_sid": "string",
    "cookie_cleared": true
  }
}
{
  "success": false,
  "message": "string",
  "code": "string",
  "data": {
    "code": "string"
  }
}
{
  "success": false,
  "message": "string",
  "code": "string",
  "data": {
    "code": "string"
  }
}
{
  "success": false,
  "message": "string",
  "code": "string",
  "data": {
    "code": "string"
  }
}
{
  "success": false,
  "message": "string",
  "code": "string",
  "data": {
    "code": "string"
  }
}

How is this guide?

Sign out of a session | BeeBridge AI