Logo
OpenScaler
API Documentation/Load Balancers

Update Load Balancer Name

Update the name of an existing load balancer.

PATCH
/v1/lbs/{lb_id}/name

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:

Authorization: Bearer <token>

Always keep your token secure and do not share it with anyone.

In: header

Request Body

application/jsonRequired
nameRequiredstring

New name for the load balancer.

Path Parameters

lb_idRequiredstring

A unique identifier for a load balancer instance.

curl -X PATCH "https://api.alpha.openscaler.net/v1/lbs/42/name" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "my-load-balancer"
  }'

Load balancer name updated successfully.

null