curl -L -X POST https://api.turso.tech/v1/auth/api-tokens/{tokenName} \ -H 'Authorization: Bearer TOKEN'
{ "name": "my-token", "id": "clGFZ4STEe6fljpFzIum8A", "token": "..." }
Returns a new API token belonging to a user.
token
The name of the api token.
Successful response
The response is of type object.
object
Was this page helpful?