Skip to content
SoulFire LogoSoulFire

Batch add instance proxies

POST
/v1/instances/{id}/proxies:batchAdd

Adds multiple proxies to the instance in a single operation. More efficient than multiple AddInstanceProxy calls.

Authorization

headerAuthorizationBearer <JWT>

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

Path Parameters

id*string

The unique identifier (UUID) of the instance.

Formatuuid

Request Body

application/json
  1. body

Request to add multiple proxies to an instance in a single operation. More efficient than multiple individual AddInstanceProxy calls.

proxies*array<>

List of proxy configurations to add.

Response Body

Response after successfully adding proxies in batch.

application/json
  1. response

Response after successfully adding proxies in batch. Empty response indicates success.

Example Request
curl -X POST 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/proxies:batchAdd' \
  -H 'Content-Type: application/json' \
  -d '{
  "proxies": [
    {
      "type": "HTTP",
      "address": "string"
    }
  ]
}'
Example Response
{}

Was this page helpful?