Skip to main content
PATCH
/
instances
/
{id}
/
ports
Atomically update forwarded HTTP ports on an instance
curl --request PATCH \
  --url https://api.thundercompute.com:8443/v1/instances/{id}/ports \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "identifier": "<string>",
  "instance_name": "<string>",
  "http_ports": [
    123
  ]
}

Documentation Index

Fetch the complete documentation index at: https://www.thundercompute.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token authentication. Provide your API token prefixed with "Bearer ", e.g. "Bearer your-api-token".

Path Parameters

id
string
required

Instance ID (index)

Body

application/json

Ports to add and remove

The body is of type object.

Response

OK

identifier
string
required
instance_name
string
required
http_ports
integer[]