FQL v4 will be decommissioned on June 30, 2025. Ensure that you complete your migration from FQL v4 to FQL v10 by that date. Fauna accounts created after August 21, 2024 must use FQL v10. These accounts will not be able to run FQL v4 queries or access the v4 Dashboard. For more details, see the v4 EOL announcement and migration guide. Contact support@fauna.com with any questions. |
Logout
This reference topic applies to FQL v4. Go to this page for the latest FQL v10 reference topics. |
Logout( all_tokens )
logout( all_tokens )
Logout( all_tokens )
Logout( all_tokens )
Logout( all_tokens )
Logout( all_tokens )
Description
The Logout
function deletes all tokens associated with the current
identity if its parameter is true
, or just the token used in this
request otherwise.
Parameters
Parameter | Type | Definition and Requirements |
---|---|---|
|
Boolean |
When set to |
Returns
A boolean value indicating whether the logout was successful or not. A
value of true
indicates that the token or tokens are no longer valid.
A value of false
means Logout
was called with a key and so
there’s no way for tokens to be invalidated.
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!