cURL
curl --request POST \ --url api.thundercompute.com:///8443/v1/token/create \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "name": "my-api-token", "orgId": "org_abc123" } '
{ "token": "abc123..." }
Create a new named API token for the authenticated user
Token creation request
"my-api-token"
"org_abc123"
OK
"abc123..."
Was this page helpful?