Developers
Open app
Sign-in

Sign out

POST/auth/logout
Requires a session: Authorization: Bearer <token>

Ends the session in the Authorization header everywhere at once (a Predict session, or an old Slay session from before Predict sessions). Always answers 200, with or without a token.

Request

curl -X POST 'https://api.slay.money/api/predict/auth/logout' \
  -H 'Authorization: Bearer $SLAY_TOKEN'

Responses

200Signed out.
okboolean
200 response
{
  "ok": true
}