SoulFire LogoSoulFire

Update instance proxy

Updates an existing proxy in the instance by its index.

PUT
/v1/instances/{id}/proxies/{index}

Updates an existing proxy in the instance by its index.

Authorization

AuthorizationBearer <token>

Preferred API authentication. Use a JWT with the api audience.

In: header

Path Parameters

id*string

The unique identifier (UUID) of the instance.

Formatuuid
index*integer

The zero-based index of the proxy to update. Returns INVALID_ARGUMENT if index is out of bounds.

Formatint32

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request to update an existing proxy in an instance.

proxy*

The new proxy configuration to replace the existing one.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/proxies/0" \  -H "Content-Type: application/json" \  -d '{    "proxy": {      "type": "HTTP",      "address": "string"    }  }'
{}

How is this page?