DELETE
/
v1
/
auth
/
api-tokens
/
{tokenName}
curl -L -X DELETE 'https://api.turso.tech/v1/auth/api-tokens/{tokenName}' \
-H 'Authorization: Bearer TOKEN'
{
  "token": "..."
}
curl -L -X DELETE 'https://api.turso.tech/v1/auth/api-tokens/{tokenName}' \
-H 'Authorization: Bearer TOKEN'

Path Parameters

tokenName
string
required

The name of the api token.

Response

200 - application/json
Successful response
token
string

The revoked token name.

Example:

"..."