cURL
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" } }
API key with Bearer prefix (e.g., 'Bearer bs_live_sk_...')
The body is of type object.
object
Session logged out successfully
Show child attributes