Instances
Atomically update forwarded HTTP ports on an instance
Changed onAtomically add and remove forwarded HTTP ports on a running instance in a single transaction. Body: {"add_ports": [8080], "remove_ports": [3000]}. Adds are deduplicated and removing ports that are not currently forwarded is a no-op. Each forwarded port is reachable at https://<uuid>-<port>.thundercompute.net.
patch/instances/{id}/ports
Request
- Base URLhttps://api.thundercompute.com:8443/v1
- AuthAPI key in header Authorization
Path parameters
idstring required
Instance ID (index)
Request body
Response
OK
Changes
- breaking
removed
subschema #1from the request bodyoneOflist - breaking
the request's body type changed from no type to
object - info
added the new optional request property
- info
added the new optional request property
- breaking