cURL
curl --request POST \ --url https://api.thundercompute.com:8443/instances/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "cpu_cores": 4, "template": "base", "gpu_type": "t4", "num_gpus": 1, "disk_size_gb": 100, "mode": "<string>" }'
{ "uuid": "<string>", "key": "<string>", "identifier": "<string>" }
Create a new compute instance with specified configuration.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
The response is of type object.
object
Was this page helpful?