Turso home page
Search...
⌘K
API Status
Dashboard
tursodatabase/turso
tursodatabase/turso
Search...
Navigation
tokens
db tokens invalidate
Documentation
SDKs
Turso CLI
Platform API
Turso Homepage
Blog & Tutorials
Discord
GitHub
Turso CLI
Introduction
Installation
Authentication
Upgrading
Help
Headless Mode
Commands
auth
contact
db
list
create
import
show
destroy
inspect
shell
locations
tokens
create
invalidate
dev
group
org
plan
On this page
Flags
tokens
db tokens invalidate
Copy page
Copy page
You can invalidate all tokens for a database by running the following command:
Copy
turso
db
tokens
invalidate
<
database-nam
e
>
[flags]
Flags
Flag
Description
-y
,
--yes
Confirms the invalidation of all existing db tokens.
All tokens in the group that provided database belongs will also be invalidated. This means that all existing tokens will no longer be valid and will need to be regenerated.
Was this page helpful?
Yes
No
Suggest edits
Raise issue
create
dev
Assistant
Responses are generated using AI and may contain mistakes.