curl --request POST \
--url https://api.thundercompute.com:8443/v1/instances/{id}/modify \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'{
"identifier": "<string>",
"instance_name": "<string>",
"gpu_type": "<string>",
"http_ports": [
123
],
"mode": "<string>",
"num_gpus": 123
}Modify a running compute instance’s resources
curl --request POST \
--url https://api.thundercompute.com:8443/v1/instances/{id}/modify \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{}'{
"identifier": "<string>",
"instance_name": "<string>",
"gpu_type": "<string>",
"http_ports": [
123
],
"mode": "<string>",
"num_gpus": 123
}Bearer token authentication. Provide your API token prefixed with "Bearer ", e.g. "Bearer your-api-token".
Instance ID (index)
Instance modification parameters
The body is of type object.
Was this page helpful?