Load Balancer

post/lb/routes

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/lb/routes
  • Auth: none declared

Request body

domainstring required
hoststring required
portinteger required
route_typestring nullable

Route type: "http" (default) matches on HTTP Host header, "tls" matches on TLS SNI hostname for TCP passthrough

Response

Route created successfully

created_atinteger required
domainstring required
enabledboolean required
hoststring required
idinteger required
portinteger required
route_typestring required

Route type: "http" or "tls"

updated_atinteger required

Changes

No recorded changes to this operation across all 50 revisions of this API.