Skip to main content
POST
/
network
/
load_balancers
/
{load_balancer_uuid}
/
targets
Add load balancer target
curl --request POST \
  --url https://api.tenbytecloud.com/v1/network/load_balancers/{load_balancer_uuid}/targets \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "target_uuid": "145cc106-e067-419a-85fd-333ded30f169",
  "target_type": "vm"
}
'
{
  "created_at": "2022-07-12 14:21:06",
  "target_uuid": "145cc106-e067-419a-85fd-333ded30f169",
  "target_type": "vm",
  "target_ip_address": "10.61.10.2"
}

Authorizations

apikey
string
header
required

Path Parameters

load_balancer_uuid
string
required

Body

application/json
target_uuid
string
required
target_type
string
required

Response

200 - application/json

Added target

The response is of type object.