Invalidate the current authentication token and end the session. The auth token in the Authorization header will no longer be valid.
curl --request POST \
--url https://api.fluxer.app/v1/auth/logout \
--header 'Authorization: <api-key>'{
"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/logout \
--header 'Authorization: <api-key>'{
"code": "ACCESS_DENIED",
"message": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}