Load Balancer

PUT /lb/routes/{domain}

Changed on

Request

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

Path parameters

domainstring required

Request body

enabledboolean 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 updated successfully

created_atstring date-time required

When the route was created (ISO 8601, UTC)

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

Route type: "http" or "tls"

updated_atstring date-time required

When the route was last changed (ISO 8601, UTC)

Example response

{
  "created_at": "2026-11-25T11:39:26Z",
  "updated_at": "2026-11-25T11:39:26Z"
}

Changes

    • breaking

      the created_at response's property type changed from integer to string, and format from int64 to date-time for status

    • breaking

      the updated_at response's property type changed from integer to string, and format from int64 to date-time for status

    • info

      added the non-success response with the status

    2 more changes in this revision