---
title: "Update load balancer config"
method: PUT
path: "/load-balancer-configs/{config-name}"
tags: ["Load Balancer Config"]
---

# Update load balancer config

`PUT /load-balancer-configs/{config-name}`

## Request

- Base URL: `/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/load-balancer-configs/{config-name}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/openeverest/apis/openeverest-schema/docs/load-balancer-configs/:config-name/put.ts> (a function with typed inputs; its response is checked against the schema)

This API updates a load balancer config specified by the `name`.

## Path parameters

- `config-name` string, required

## Request body

- LoadBalancerConfig: LoadBalancerConfig is the Schema for the Load Balancer Config API.
  - `apiVersion` string: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  - `kind` string: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  - `metadata` object
  - `spec` object: LoadBalancerConfigSpec defines the desired state of LoadBalancerConfig.
    - `annotations` object: Annotations key-value pairs to apply as annotations to the load balancer
  - `status` object: LoadBalancerConfigStatus defines the observed state of LoadBalancerConfig.
    - `inUse` boolean: InUse is a flag that indicates if the config is used by any DB cluster.
    - `lastObservedGeneration` integer: LastObservedGeneration is the most recent generation observed for this LoadBalancerConfig.

## Response `200`

Successful operation

- LoadBalancerConfig: LoadBalancerConfig is the Schema for the Load Balancer Config API.
  - `apiVersion` string: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  - `kind` string: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  - `metadata` object
  - `spec` object: LoadBalancerConfigSpec defines the desired state of LoadBalancerConfig.
    - `annotations` object: Annotations key-value pairs to apply as annotations to the load balancer
  - `status` object: LoadBalancerConfigStatus defines the observed state of LoadBalancerConfig.
    - `inUse` boolean: InUse is a flag that indicates if the config is used by any DB cluster.
    - `lastObservedGeneration` integer: LastObservedGeneration is the most recent generation observed for this LoadBalancerConfig.

## Other responses

- `400`: Unsuccessful operation
- `500`: Internal server error

## Changes

- **2025-09-15** `c353211f18a1`: 1 info
  - endpoint added
- **2024-04-12** `dec31e5eea8e`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/openeverest/apis/openeverest-schema/changes/load-balancer-configs/:config-name/put.md)

---

[API](https://skmtc.dev/openeverest/apis/openeverest-schema.md) - [All operations](https://skmtc.dev/openeverest/apis/openeverest-schema/llms.txt) - [OpenAPI document](https://skmtc.dev/openeverest/apis/openeverest-schema/revisions/46b19e13670b?raw)
