Update a Backend
Update (replace) an existing backend configuration on the given load balancer.
Authorization
AuthorizationRequiredBearer <token>OAuth Authentication
OpenScaler API uses OAuth, a standard for secure authorization. To access the API, obtain a token via the OpenScaler Platform.
Use the access_token in the Authorization header for requests:
Always keep your token secure and do not share it with anyone.
In: header
Request Body
application/jsonRequirednameRequiredstringUnique name for this backend.
modeRequiredstringProtocol mode.
Value in:
"http" | "tcp"balancing_methodRequiredstringLoad balancing algorithm.
Value in:
"roundrobin" | "leastconn" | "first"portRequiredinteger | stringPort that backend servers listen on.
serversRequiredobject | objectoptionsobjectOptional backend-level settings.
Path Parameters
lb_idRequiredstringA unique identifier for a load balancer instance.
backend_nameRequiredstringThe name of a backend on a load balancer.
Backend updated successfully.