Invalidate all active authentication sessions for the current user. Requires sudo mode verification for security.
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>"
}
]
}User session token from login: Authorization: <token> (no prefix). Prefer a bot account over user tokens where possible.
No Content
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>"
}
]
}