Skip to main content
POST
/
auth
/
sessions
/
logout
Logout all sessions
curl --request POST \
  --url https://api.fluxer.app/v1/auth/sessions/logout \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "session_id_hashes": [
    "<string>"
  ],
  "password": "<string>"
}
'
{
  "code": "ACCESS_DENIED",
  "message": "<string>",
  "errors": [
    {
      "path": "<string>",
      "message": "<string>",
      "code": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

User session token from login: Authorization: <token> (no prefix). Prefer a bot account over user tokens where possible.

Body

application/json
session_id_hashes
string[]
required

Array of session ID hashes to log out (max 100)

Maximum array length: 100
password
string
Required string length: 8 - 256

Response

No Content