Sign in

Create Load Balancer

documented

Create a new load balancer.

POST /v2/load BalancersLoad Balancersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.digitalocean.com/v2/load_balancers" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "region": "{{$region}}", "forwarding_rules": [{"entry_protocol": "http","entry_port": 80,"target_protocol": "http","target_port": 80,"certificate_id": "","tls_passthrough": false}], "health_check": {"protocol": "http","port": 80,"path": "/","check_interval_seconds": 10,"response_timeout_seconds": 5,"healthy_threshold": 5,"unhealthy_threshold": 3}, "tag": "{{$tag}}" }'
Create Load Balancer · DigitalOcean · OpenIntegrations