Skip to main content
POST
/
sdk
/
logout
Logout and invalidate a session token
curl --request POST \
  --url https://api.botshield.ai/operations/sdk/logout \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "data": {
    "success": true,
    "message": "Session logged out successfully",
    "session_found": true,
    "invalidated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key with Bearer prefix (e.g., 'Bearer bs_live_sk_...')

Body

application/json

The body is of type object.

Response

Session logged out successfully

data
object
required