Skip to main content
POST
/
network
/
load_balancers
/
{load_balancer_uuid}
/
forwarding_rules
Add load balancer forwarding rule
curl --request POST \
  --url https://api.tenbytecloud.com/v1/network/load_balancers/{load_balancer_uuid}/forwarding_rules \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "source_port": 8080,
  "target_port": 80
}
'
{
  "source_port": 8080,
  "target_port": 80
}

Authorizations

apikey
string
header
required

Path Parameters

load_balancer_uuid
string
required

Body

application/json
source_port
string
required
target_port
string
required

Response

200 - application/json

Added forwarding rule

The response is of type object.