Skip to main content
POST
/
token
/
create
Create API token
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..."
}

Authorizations

Authorization
string
header
required

Body

application/json

Token creation request

name
string
required
Example:

"my-api-token"

orgId
string
Example:

"org_abc123"

Response

OK

token
string
Example:

"abc123..."