---
title: "Details of API functions"
url: https://docs.ovhcloud.com/es/guides/network/load-balancer/use-api-details
lang: es
lastUpdated: 2025-09-29
---
# Details of API functions

## Objective

This guide provides a detailed description of all API functions for the OVHcloud Load Balancer.

## Prerequisite

- Consult the guide [First steps with the OVHcloud APIs](/es/guides/manage-and-operate/api/first-steps.md) to familiarize yourself with the use of OVHcloud APIv6.

## Instructions

### Manage your OVHcloud Load Balancer service via the API

All API calls that are made in the section _/ipLoadbalancing_ are available on [this page](https://eu.api.ovh.com/console/).

:::info
In the calls below all fields marked with an asterisk `*` are mandatory.
:::

:::info
The Frontends, Farms and Servers are specific to the protocol (HTTP, TCP or UDP) in which they are defined.
Compatibility between these components is only possible within the same protocol.
For example, an HTTP Frontend can only be paired with an HTTP Farm, and cannot be used with a UDP Farm.
:::

## Services and zones

### OVHcloud Load Balancer

#### List active services


🇪🇺EU▾

[GET/ipLoadbalancing](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing)

#### List the zones available for the OVHcloud Load Balancer


🇪🇺EU▾

[GET/ipLoadbalancing/availableZones](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/availableZones)

#### Return details of a OVHcloud Load Balancer service


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-)

:::details Parameters:

**serviceName** \*

The identifier of your Load Balancer, ex: IP-1.2.3.4 (String of characters)

:::

#### Modify a OVHcloud Load Balancer service


🇪🇺EU▾

[PUT/ipLoadbalancing/{serviceName}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#put-/ipLoadbalancing/-serviceName-)

:::details Parameters:

**serviceName** \*

The identifier of your Load Balancer, ex: IP-1.2.3.4 (String of characters)

**Ip** \*

**displayName**

The name you want to give to the service (String of characters)

**sslConfiguration**

The SSL configuration you want to assign to the service (Value)

:::

#### List the services attached to the OVHcloud Load Balancer


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/allowedServers](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/allowedServers)

:::details Parameters:

**serviceName** \*

The identifier of your Load Balancer, ex: IP-1.2.3.4 (String of characters)

:::

#### List existing farms and their type


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/definedFarms](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/definedFarms)

:::details Parameters:

**serviceName** \*

The identifier of your Load Balancer, ex: IP-1.2.3.4 (String of characters)

**vrackNetworkId**

Allows filtering according to the vrack network

:::

#### List the areas that can be attached to a OVHcloud Load Balancer service


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/availableServerZones](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/availableServerZones)

:::details Parameters:

**serviceName** \*

The identifier of your Load Balancer, ex: IP-1.2.3.4 (String of characters)

:::

#### List the different probes that can be used


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/availableFarmProbes](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/availableFarmProbes)

:::details Parameters:

**serviceName** \*

The identifier of your Load Balancer, ex: IP-1.2.3.4 (String of characters)

:::

#### List the different types of farms that can be used


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/availableFarmType](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/availableFarmType)

:::details Parameters:

**serviceName** \*

The identifier of your Load Balancer, ex: IP-1.2.3.4 (String of characters)

:::

#### List the different types of frontends that can be used


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/availableFrontendType](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/availableFrontendType)

:::details Parameters:

**serviceName** \*

The identifier of your Load Balancer, ex: IP-1.2.3.4 (String of characters)

:::

#### List the different types of routing actions that can be used


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/availableRouteActions](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/availableRouteActions)

:::details Parameters:

**serviceName** \*

The identifier of your Load Balancer, ex: IP-1.2.3.4 (String of characters)

:::

#### List the different types of routing rules that can be used


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/availableRouteRules](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/availableRouteRules)

:::details Parameters:

**serviceName** \*

The identifier of your Load Balancer, ex: IP-1.2.3.4 (String of characters)

:::

### Service

#### Get service information


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/serviceInfos](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/serviceInfos)

:::details Parameters:

**serviceName** \*

The identifier of your Load Balancer, ex: IP-1.2.3.4 (String of characters)

:::

#### Modify service information


🇪🇺EU▾

[PUT/ipLoadbalancing/{serviceName}/serviceInfos](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#put-/ipLoadbalancing/-serviceName-/serviceInfos)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, ex: IP-1.2.3.4 (String of characters)

**Service** \*

- **automatic**

Enables automatic service renewal (Boolean))

- **deleteAtExpiration**

Enables the deletion of the service upon expiration. (Boolean)

- **forced**

Forces automatic renewal (Boolean)

- **period**

Fill in the renewal term (String of characters)

:::

### Zones

#### List active zones for a OVHcloud Load Balancer service


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/zone](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/zone)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, ex. : IP-1.2.3.4 (String of characters)

:::

#### Get the details of a zone


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/zone/{name}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/zone/-name-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**name** \*

The name of the requested zone

:::

#### Delete a zone

The service will be discontinued on the expiry date.


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/zone/{name}/terminate](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/zone/-name-/terminate)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**name** \*

The service will be discontinued on the expiry date.

:::

#### Undo the deletion of a zone


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/zone/{name}/cancelTermination](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/zone/-name-/cancelTermination)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**name** \*

The name of the zone to be deleted

:::

## HTTP Protocol

Accessing HTTP protocol related elements (Frontend, Firmware, etc.).

### HTTP farms

#### List HTTP farms attached to a OVHcloud Load Balancer service


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/http/farm](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/http/farm)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**zone**

The name of the zone (String of characters)

:::

#### Adding a new HTTP farm to a OVHcloud Load Balancer service


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/http/farm](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/http/farm)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**zone** \*

The name of the zone (String of characters)

**displayName**

The name you wish to give to your farm (String of characters)

**balance**

Your farm's load distribution method (Value)

**port**

The listening port on your farm. Inherited from the frontend if undefined (Number, 1..65535)

**stickiness**

The type of connection persistence to use for your farm (Value)

**probe**

The type of probe to use on your farm (Probe HTTP)

- **forceSsl**

SSL activation is forced for the probe (Boolean)

- **interval**

The interval in seconds between each probe test. Must be greater than 30. Default is 30. (Number)

- **match**

The method of correspondence used. default' uses the standard behavior of HAProxy. status' is only supported for HTTP probes (value) \[contains, default, internal, matches, status]

- **negate**

The behavior of the 'match' operator is reversed (Boolean)

- **method**

The HTTP method used in type 'http'. HEAD' can save bandwidth. GET' by default (Value) \[HEAD, GET, OPTIONS, internal]

- **pattern**

The format of the server response when "UP". Empty for 'default', comma separated status list for 'status', text for 'contains', regular expression for 'matches' (String of characters)

- **port**

The port that the probe should use to test the servers attached to your farm. Ignored for 'oco' probes. If not defined, the farm port is used (Number)

- **type**

The type of the probe; its operation (Value) \[HTTP, internal, MySQL, OCO, PgSQL, SMTP, TCP]

- **url**

The address to be used by the probe for HTTP type probes. The type is ignored if this parameter is set to (String of characters)

:::

#### Getting the details of an HTTP farm


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/http/farm/{farmId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/http/farm/-farmId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**farmId** \*

The identifier of your HTTP farm (Number)

:::

#### Modify the properties of an HTTP farm


🇪🇺EU▾

[PUT/ipLoadbalancing/{serviceName}/http/farm/{farmId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#put-/ipLoadbalancing/-serviceName-/http/farm/-farmId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**farmId** \*

The identifier of your HTTP farm (Number)

**BackendHttp** \*

- **displayName**

The name of the farm (String of characters)

- **balance**

The type of load distribution (Value)

- **port**

The farm's listening port (Number, 1..65000)

- **probe**

The type of probe to be used (HTTP probe)

- **stickiness**

The type of connection persistence (Value)

:::

#### Delete an HTTP farm


🇪🇺EU▾

[DELETE/ipLoadbalancing/{serviceName}/http/farm/{farmId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#delete-/ipLoadbalancing/-serviceName-/http/farm/-farmId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**farmId** \*

The identifier of your HTTP farm (Number)

:::

### HTTP Servers

#### List the servers linked to the HTTP farm


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/http/farm/{farmId}/server](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/http/farm/-farmId-/server)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**farmId** \*

The identifier of your HTTP farm (Number)

**cookie**

Filter Values by Cookie (String of characters)

**address**

Filter Values by IPv4 address (IPv4)

**status**

Filter Values by server status (Value)

:::

#### Adding a server to an HTTP farm


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/http/farm/{farmId}/server](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/http/farm/-farmId-/server)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**farmId** \*

The identifier of your farm (Number)

**address** \*

The IPv4 address of your server (IPv4)

**backup**

If your server is configured as a backup server (Boolean)

**chain**

The Value of the Intermediate SSL Certificate (String of characters)

**cookie**

The Value of your Cookie (String of characters)

**displayName**

The name given to your server (String of characters)

**port**

The listening port of your server. Inherited from your farm if not defined (Number, 1..65535)

**probe**

The type of probe to be used (Value)

**proxyProtocolVersion**

The proxyProtocol version to use,
see [http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt](http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt) (Value)

**ssl** \*

If the requests sent to your servers need to be encrypted with SSL (Boolean)

**weight** \*

The weight of your server for your farm. A server with high weight receives more requests (Number)

**status** \*

If your server is activated or not (Boolean)

:::

#### Get the details of a server linked to an HTTP farm


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/http/farm/{farmId}/server/{serverId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/http/farm/-farmId-/server/-serverId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**serverId** \*

The identifier of your server (Number)

**farmId** \*

The identifier of your farm (Number)

:::

#### Modify the properties of an HTTP server


🇪🇺EU▾

[PUT/ipLoadbalancing/{serviceName}/http/farm/{farmId}/server/{serverId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#put-/ipLoadbalancing/-serviceName-/http/farm/-farmId-/server/-serverId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**serverId** \*

The identifier of your server-link (Number)

**farmId** \*

The identifier of your farm (Number)

**BackendHttpServer** \*

- **backup**

If your server is configured as a backup server (Boolean)

- **chain**

The Value of the Intermediate SSL Certificate (String of characters)

- **cookie**

The Value of your Cookie (String of characters)

- **displayName**

The name of your server (String of characters)

- **port**

The listening port of your server (Number, 1..65535)

- **probe**

The type of probe to be used (Value)

- **proxyProtocolVersion**

The proxyProtocol version to use,
see [http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt](http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt) (Value)

- **ssl**

If the requests sent to your servers need to be encrypted with SSL (Boolean)

- **status**

If your server is activated or not (Boolean)

- **weight**

The weight of your server for your farm (Number)

:::

#### Removing a server from an HTTP farm


🇪🇺EU▾

[DELETE/ipLoadbalancing/{serviceName}/http/farm/{farmId}/server/{serverId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#delete-/ipLoadbalancing/-serviceName-/http/farm/-farmId-/server/-serverId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**serverId** \*

The identifier of your server (Number)

**farmId** \*

The identifier of your farm (Number)

:::

### Frontends HTTP

#### List HTTP frontends attached to a OVHcloud Load Balancer service


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/http/frontend](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/http/frontend)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**defaultFarmId**

The identifier of the HTTP farm to which the HTTP frontend is linked (Number)

**port**

The listening port on your frontend (Number, 1..65535)

**zone**

The name of your zone, ex: all (String of characters)

:::

#### Add an HTTP frontend to a OVHcloud Load Balancer service


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/http/frontend](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/http/frontend)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**allowedSource**

The list of client IP addresses that have access to the Load Balancer (IPv4)

NB: the filtering is done at the Load Balancer level, so if the Load Balancer and the servers are not in a vRack, your servers are directly accessible from the Internet.

**dedicatedIpfo**

The list of IP addresses of the remote servers to which your Load Balancer is connected (IPv4\[])

**defaultFarmId**

The default HTTP farm identifier for your frontend (Number)

**defaultSslId**

The default SSL Certificate ID (Number)

**disabled**

If your HTTP frontend is disabled or enabled (Boolean)

**displayName**

The name of your HTTP frontend (String of characters)

**hsts**

If support for _https strict, HTTP Strict Transport Security_ is enabled or disabled (Boolean)

**httpHeader**

The custom _http_ header to add (String of characters)

**port** \*

The listening port on your frontend (Number, 1..65535)

**redirectLocation**

The redirection URL _http_ (String of characters)

**ssl**

Whether requests sent to the HTTP farm should be encrypted with SSL or not (Boolean)

**zone** \*

The name of your zone, ex: all (String of characters)

:::

### Get the details of an HTTP frontend


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/http/frontend/{frontendId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/http/frontend/-frontendId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**frontendId** \*

The identifier of your HTTP frontend (Number)

:::

#### Modify the properties of an HTTP frontend


🇪🇺EU▾

[PUT/ipLoadbalancing/{serviceName}/http/frontend/{frontendId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#put-/ipLoadbalancing/-serviceName-/http/frontend/-frontendId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**frontendId** \*

The identifier of your HTTP frontend (Number)

**FrontendHttp** \*

- **allowedSource**

The list of client IP addresses that have access to the Load Balancer (IPv4\[])

NB: the filtering is done at the Load Balancer level, so if the Load Balancer and the servers are not in a vRack, your servers are directly accessible from the Internet.

- **dedicatedIpfo**

The list of IP addresses of the remote servers to which your Load Balancer is connected (IPv4\[])

- **defaultSslId**

The default SSL Certificate ID (Number)

- **disabled**

If your HTTP frontend is disabled or enabled (Boolean)

- **displayName**

The name of your HTTP frontend (String of characters)

- **hsts**

If support for _https strict, HTTP Strict Transport Security_ is enabled or disabled (Boolean)

- **httpHeader**

The custom _http_ header to add (String of characters)

- **ssl**

Whether requests sent to the HTTP farm should be encrypted with SSL or not (Boolean)

:::

#### Delete an HTTP frontend


🇪🇺EU▾

[DELETE/ipLoadbalancing/{serviceName}/http/frontend/{frontendId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#delete-/ipLoadbalancing/-serviceName-/http/frontend/-frontendId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**frontendId** \*

The identifier of your frontend (Number)

:::

### Routes HTTP

Routes are evaluated one by one, testing their routing rules. The first route validating all its rules sees its action executed, and stops the evaluation of the remaining routes. The order of execution is defined by the type and weight of the route.

#### List the HTTP routes attached to a Load Balancer service


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/http/route](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/http/route)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**frontendId**

The identifier of an HTTP frontend (Number)

:::

#### Add a new HTTP route to a OVHcloud Load Balancer service


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/http/route](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/http/route)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**action** \*

The action triggered when all the rules of your route are validated (RouteHttpAction)

- **status**

The expected HTTP return code (Number)

- **target**

The farm identifier, or the template for the URL (String of characters)

- **type**

The action on your route (String of characters)

**displayName**

The name of your route (String of characters)

**frontendId**

The Identifier of the HTTP frontend for which your route is applied (Number)

**weight**

The priority of your route. (Number) \[0 - 255]

:::

#### Get the details of an HTTP route


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/http/route/{routeId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/http/route/-routeId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**routeId** \*

The identifier of your route (number)

:::

#### Modify the properties of an HTTP route


🇪🇺EU▾

[PUT/ipLoadbalancing/{serviceName}/http/route/{routeId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#put-/ipLoadbalancing/-serviceName-/http/route/-routeId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**routeId** \*

The identifier of your route (number)

**routeHttp** \*

**action** \*

The action triggered when all the rules of your route are validated (RouteHttpAction)

- **status**

The expected HTTP return code (Number)

- **target**

The farm identifier, or the template for the URL (String of characters)

- **type**

The action on your route (String of characters)

**displayName**

The name of your route (String of characters)

**frontendId**

The Identifier of the HTTP frontend for which your route is applied (Number)

**weight**

The priority of your route. (Number) \[0 - 255]

:::

#### Delete an HTTP route


🇪🇺EU▾

[DELETE/ipLoadbalancing/{serviceName}/http/route/{routeId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#delete-/ipLoadbalancing/-serviceName-/http/route/-routeId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**routeId** \*

The identifier of your route (number)

:::

### Routing rules

#### List the routing rules attached to an HTTP route


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/http/route/{routeId}/rule](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/http/route/-routeId-/rule)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**routeId** \*

The identifier of your HTTP route (Number)

:::

#### Add routing rules attached to an HTTP route


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/http/route/{routeId}/rule](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/http/route/-routeId-/rule)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**routeId** \*

The identifier of your HTTP route (Number)

**field** \*

The name of the field to be tested with the "match" operator (String of characters)

**match** \*

The comparison operator (value) (contains, endsWith, exists, in, internal, is, matches, startsWith)

**negate**

The behavior of the operator :code:`match` is reversed (Boolean)

**pattern**

The schema or the regular expression used by the "match" operator (Regex / String of characters)

**subField**

The name of the sub-field, if applicable. Can be a cookie or a header name, for example (String of characters)

:::

#### Get the details of a routing rule


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/http/route/{routeId}/rule/{ruleId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/http/route/-routeId-/rule/-ruleId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**routeId** \*

The identifier of your HTTP route (Number)

**ruleId** \*

The identifier of your HTTP routing rule (Number)

:::

#### Modify the properties of a routing rule


🇪🇺EU▾

[PUT/ipLoadbalancing/{serviceName}/http/route/{routeId}/rule/{ruleId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#put-/ipLoadbalancing/-serviceName-/http/route/-routeId-/rule/-ruleId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**routeId** \*

The identifier of your HTTP route (Number)

**ruleId** \*

The identifier of your HTTP routing rule (Number)

**RouteRule** \*

- **field**

The name of the field to be tested via the "match" operator (String of characters)

- **match**

The comparison operator to use (contains, endsWith, exists, in, internal, is, matches, startsWith)

- **negate**

If the "match" operator is inverted or not (Boolean)

- **pattern**

The Value or regular expression to use with the "match" operator (Regex / String of characters)

- **subField**

The name of the sub-field if applicable (String of characters)

:::

#### Delete a routing rule


🇪🇺EU▾

[DELETE/ipLoadbalancing/{serviceName}/http/route/{routeId}/rule/{ruleId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#delete-/ipLoadbalancing/-serviceName-/http/route/-routeId-/rule/-ruleId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**routeId** \*

The identifier of your HTTP route (Number)

**ruleId** \*

The identifier of your HTTP routing rule (Number)

:::

## Protocol TCP

Access the elements related to the TCP protocol (Frontend, Farm, etc.).

### TCP Farms

#### List TCP farms attached to a OVHcloud Load Balancer service


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/tcp/farm](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/tcp/farm)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**zone**

The name of your zone, ex: all (String of characters)

:::

#### Add a new TCP farm to a OVHcloud Load Balancer service


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/tcp/farm](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/tcp/farm)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**balance**

Your farm's load sharing method (Value)

**displayName**

The name you wish to give to your farm (String of characters)

**port**

The listening port on your farm. Inherited from the frontend if not defined (Number, 1..65535)

**probe**

The type of probe to use on your farm (HTTP probe)

- **forceSsl**

Activation of the SSL is forced for the probe (Boolean)

- **interval**

The interval (in seconds) between each probe test. Must be greater than 30. Default is 30 (Number)

- **match**

The method of correspondence used. default' uses the standard HAProxy behavior. status' is only supported for HTTP probes. (Value) (contains, default, internal, matches, status)

- **negate**

The behavior of the :code:`match` operator is reversed. (Boolean)

- **method**

The HTTP method used in :code:`type` 'http'. HEAD' can save bandwidth. GET' by default (Value) (HEAD, GET, OPTIONS, internal)

- **pattern**

server response when "UP". Empty for 'default', comma separated status list for 'status', text for 'contains', regular expression for 'matches'. (String of characters)

- **port**

The port that the probe should use to test the servers attached to your farm. Ignored for 'oco' probes. If not defined, the farm port is used (Number)

- **type**

The type of the probe; its operation (Value) (HTTP, internal, MySQL, OCO, PgSQL, SMTP ou TCP)

- **url**

The address to be used by the probe for HTTP type probes. The :code:`type` is ignored if this parameter is defined (String of characters)

**stickiness**

The type of connection persistence to use for your farm (Value)

**zone** \*

The name of your zone, ex: all (String of characters)

:::

#### Get the details of a TCP farm


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/tcp/farm/{farmId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/tcp/farm/-farmId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**farmId** \*

The identifier of your farm (Number)

:::

#### Modify the properties of a TCP farm


🇪🇺EU▾

[PUT/ipLoadbalancing/{serviceName}/tcp/farm/{farmId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#put-/ipLoadbalancing/-serviceName-/tcp/farm/-farmId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**farmId** \*

The identifier of your farm (Number)

**BackendTcp** \*

- **balance**

The type of load distribution (Value)

- **displayName**

The name of the farm (String of characters)

- **port**

The farm's listening port (Number, 1..65000)

- **probe**

The type of probe to be used (Sonde TCP)

- **stickiness**

The type of connection persistence (Value)

:::

#### Delete a TCP farm


🇪🇺EU▾

[DELETE/ipLoadbalancing/{serviceName}/tcp/farm/{farmId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#delete-/ipLoadbalancing/-serviceName-/tcp/farm/-farmId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**farmId** \*

The identifier of your farm (Number)

:::

### TCP Servers

#### List the servers linked to the TCP farm


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/tcp/farm/{farmId}/server](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/tcp/farm/-farmId-/server)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**farmId** \*

The identifier of your farm (Number)

**cookie**

Filter Values by Cookie (String of characters)

**address**

Filter Values by IPv4 address (IPv4)

**status**

Filter Values by Server Status (Value)

:::

#### Add a server to a TCP farm


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/tcp/farm/{farmId}/server](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/tcp/farm/-farmId-/server)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**farmId** \*

The identifier of your farm (Number)

**address** \*

The IPv4 address of your server (IPv4)

**backup**

If your server is configured as a backup server (Boolean)

**chain**

The Value of the Intermediate SSL Certificate (String of characters)

**displayName**

The name given to your server (String of characters)

**port**

The listening port of your server. Inherited from your farm if not defined (Number, 1..65535)

**probe**

The type of probe to be used (Value)

**proxyProtocolVersion**

The proxyProtocol version to use,
see [http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt](http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt) (Value)

**ssl** \*

If the requests sent to your servers need to be encrypted with SSL (Boolean)

**weight** \*

The weight of your server for your farm. A high weight server receives more requests (Number)

**status** \*

If your server is activated or not (Boolean)

:::

#### Get the details of a server linked to a TCP farm


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/tcp/farm/{farmId}/server/{serverId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/tcp/farm/-farmId-/server/-serverId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**serverId** \*

The identifier of your server (Number)

**farmId** \*

The identifier of your farm (Number)

:::

#### Modify the properties of a TCP server


🇪🇺EU▾

[PUT/ipLoadbalancing/{serviceName}/tcp/farm/{farmId}/server/{serverId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#put-/ipLoadbalancing/-serviceName-/tcp/farm/-farmId-/server/-serverId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**serverId** \*

The identifier of your server-link (Number)

**farmId** \*

The identifier of your farm (Number)

**BackendTcpServer** \*

- **backup**

If your server is configured as a backup server (Boolean)

- **chain**

The Value of the Intermediate SSL Certificate (String of characters)

- **displayName**

The name of your server (String of characters)

- **port**

The listening port of your server (Number, 1..65535)

- **probe**

The type of probe to be used (Value)

- **proxyProtocolVersion**

The proxyProtocol version to use,
see [http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt](http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt) (Value >> )

- **ssl**

If the requests sent to your servers need to be encrypted with SSL (Boolean)

- **status**

If your server is activated or not (Boolean)

- **weight**

The weight of your server for your farm (Number)

:::

#### Delete a server from a TCP farm


🇪🇺EU▾

[DELETE/ipLoadbalancing/{serviceName}/tcp/farm/{farmId}/server/{serverId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#delete-/ipLoadbalancing/-serviceName-/tcp/farm/-farmId-/server/-serverId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**serverId** \*

The identifier of your server (Number)

**farmId** \*

The identifier of your farm (Number)

:::

### Frontends TCP

#### List TCP frontends attached to a OVHcloud Load Balancer service


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/tcp/frontend](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/tcp/frontend)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**defaultFarmId**

The identifier of the TCP farm to which the TCP frontend is linked (Number)

**port**

The listening port on your frontend (Number, 1..65535)

**zone**

The name of your zone, ex: all (String of characters)

:::

#### Add a TCP frontend to a OVHcloud Load Balancer service


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/tcp/frontend](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/tcp/frontend)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**allowedSource**

The list of client IP addresses that have access to the Load Balancer (IPv4)

**dedicatedIpfo**

The list of IP addresses of the remote servers to which your Load Balancer is connected (IPv4\[])

**defaultFarmId**

The default TCP farm identifier for your frontend (Number)

**defaultSslId**

The default SSL Certificate ID (Number)

**disabled**

If your TCP frontend is disabled or enabled (Boolean)

**displayName**

The name of your TCP frontend (String of characters)

**port** \*

The listening port on your frontend (Number, 1..65535)

**ssl**

Whether requests sent to the TCP farm should be encrypted with SSL or not (Boolean)

**zone** \*

The name of your zone, ex: all (String of characters)

:::

#### Get the details of a TCP frontend


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/tcp/frontend/{frontendId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/tcp/frontend/-frontendId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**frontendId** \*

The identifier of your frontend TCP (Number)

:::

#### Modify the properties of a TCP frontend


🇪🇺EU▾

[PUT/ipLoadbalancing/{serviceName}/tcp/frontend/{frontendId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#put-/ipLoadbalancing/-serviceName-/tcp/frontend/-frontendId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**frontendId** \*

The identifier of your frontend TCP (Number)

**FrontendTcp** \*

- **allowedSource**

The list of client IP addresses that have access to the Load Balancer (IPv4\[])

- **dedicatedIpfo**

The list of IP addresses of the remote servers to which your Load Balancer is connected (IPv4\[])

- **defaultSslId**

The default SSL Certificate ID (Number)

- **disabled**

If your HTTP frontend is disabled or enabled (Boolean)

- **displayName**

The name of your HTTP frontend (String of characters)

- **ssl**

Whether requests sent to the HTTP farm should be encrypted with SSL or not (Boolean)

:::

#### Delete a TCP frontend


🇪🇺EU▾

[DELETE/ipLoadbalancing/{serviceName}/tcp/frontend/{frontendId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#delete-/ipLoadbalancing/-serviceName-/tcp/frontend/-frontendId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**frontendId** \*

The identifier of your frontend (Number)

:::

### Routes TCP

Routes are evaluated one by one, testing their routing rules. The first route validating all its rules sees its action executed, and stops the evaluation of the remaining routes. The order of execution is defined by the type and weight of the route.

#### List TCP routes attached to a OVHcloud Load Balancer service


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/tcp/route](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/tcp/route)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**frontendId**

The identifier of a TCP frontend (Number)

:::

#### Add a new TCP route to a OVHcloud Load Balancer service


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/tcp/route](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/tcp/route)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**action** \*

The action triggered when all the rules of your route are validated (RouteHttpAction)

- **target**

The farm identifier, or the template for the URL (String of characters)

- **type**

The action on your route (String of characters)

**displayName**

The name of your route (String of characters)

**frontendId**

The Identifier of the TCP frontend for which your route is applied (Number)

**weight**

The priority of your route. (Number) \[0 - 255]

:::

#### Get the details of a TCP route


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/tcp/route/{routeId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/tcp/route/-routeId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**routeId** \*

The identifier of your route (number)

:::

#### Modify the properties of a TCP route


🇪🇺EU▾

[PUT/ipLoadbalancing/{serviceName}/tcp/route/{routeId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#put-/ipLoadbalancing/-serviceName-/tcp/route/-routeId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**routeId** \*

The identifier of your route (number)

**routeTcp** \*

- **action**

The action to carry out (routeTcpAction)

- **target**

The farm identifier, or the template for the URL (String of characters)

- **type**

The action on your route (String of characters)

- **displayName**

The name of your route (String of characters)

- **frontendId**

The TCP frontend for which your route is applied (Number)

- **weight**

The priority of your route (Number) \[0 - 255]

:::

#### Delete a TCP route


🇪🇺EU▾

[DELETE/ipLoadbalancing/{serviceName}/tcp/route/{routeId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#delete-/ipLoadbalancing/-serviceName-/tcp/route/-routeId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**routeId** \*

The identifier of your route (number)

:::

### Routing rules

#### List the routing rules attached to a TCP route


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/tcp/route/{routeId}/rule](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/tcp/route/-routeId-/rule)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**routeId** \*

The identifier of your TCP route (Number)

:::

#### Add routing rules attached to a TCP route


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/tcp/route/{routeId}/rule](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/tcp/route/-routeId-/rule)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**routeId** \*

The identifier of your TCP route (Number)

**field** \*

The name of the field to be tested with the "match" operator (String of characters)

**match** \*

The comparison operator (value) (contains, endsWith, exists, in, internal, is, matches, startsWith)

**negate**

The behavior of the :code:`match` operator is reversed. (Boolean)

**pattern**

The schema or the regular expression used by the "match" operator (Regex / String of characters)

**subField**

The name of the sub-field, if applicable. Can be a cookie or a header name, for example (String of characters)

:::

#### Get the details of a routing rule


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/tcp/route/{routeId}/rule/{ruleId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/tcp/route/-routeId-/rule/-ruleId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**routeId** \*

The identifier of your TCP route (Number)

**ruleId** \*

The identifier of your HTTP routing rule (Number)

:::

#### Modify the properties of a routing rule


🇪🇺EU▾

[PUT/ipLoadbalancing/{serviceName}/tcp/route/{routeId}/rule/{ruleId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#put-/ipLoadbalancing/-serviceName-/tcp/route/-routeId-/rule/-ruleId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**routeId** \*

The identifier of your TCP route (Number)

**ruleId** \*

The identifier of your HTTP routing rule (Number)

**RouteRule** \*

- **field**

The name of the field to be tested via the "match" operator (String of characters)

- **match**

The comparison operator to use (contains, endsWith, exists, in, internal, is, matches, startsWith)

- **negate**

If the "match" operator is inverted or not (Boolean)

- **pattern**

The Value or regular expression to use with the "match" operator (Regex / String of characters)

- **subField**

The name of the sub-field if applicable (String of characters)

:::

#### Delete a routing rule


🇪🇺EU▾

[DELETE/ipLoadbalancing/{serviceName}/tcp/route/{routeId}/rule/{ruleId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#delete-/ipLoadbalancing/-serviceName-/tcp/route/-routeId-/rule/-ruleId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**routeId** \*

The identifier of your TCP route (Number)

**ruleId** \*

The identifier of your HTTP routing rule (Number)

:::

## UDP Protocol

Access the UDP protocol elements (Frontend, Farm, etc.).

### UDP Farms

#### List UDP trusses attached to a OVHcloud Load Balancer service


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/udp/farm](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/udp/farm)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**zone**

The name of your zone, ex: all (String of characters)

:::

#### Add a new UDP farm to a OVHcloud Load Balancer service


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/udp/farm](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/udp/farm)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**displayName**

The name you wish to give to your farm (String of characters)

**port**

The listening port on your farm. Inherited from the frontend if not defined (Number, 1..65535)

**zone** \*

The name of your zone, ex: all (String of characters)

:::

#### Get the details of a UDP farm


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/udp/farm/{farmId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/udp/farm/-farmId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**farmId** \*

The identifier of your farm (Number)

:::

#### Modify the properties of a UDP farm


🇪🇺EU▾

[PUT/ipLoadbalancing/{serviceName}/udp/farm/{farmId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#put-/ipLoadbalancing/-serviceName-/udp/farm/-farmId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**farmId** \*

The identifier of your farm (Number)

**BackendUdp** \*

- **displayName**

The name of the farm (String of characters)

- **port**

The farm's listening port (Number, 1..65000)

:::

#### Delete a UDP farm


🇪🇺EU▾

[DELETE/ipLoadbalancing/{serviceName}/udp/farm/{farmId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#delete-/ipLoadbalancing/-serviceName-/udp/farm/-farmId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**farmId** \*

The identifier of your farm (Number)

:::

### UDP Servers

#### List the servers linked to the UDP farm


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/udp/farm/{farmId}/server](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/udp/farm/-farmId-/server)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**farmId** \*

The identifier of your farm (Number)

**address**

Filter Values by IPv4 address (IPv4)

**status**

Filter Values by Server Status (Value)

:::

#### Adding a server to a UDP farm


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/udp/farm/{farmId}/server](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/udp/farm/-farmId-/server)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**farmId** \*

The identifier of your farm (Number)

**address** \*

The IPv4 address of your server (IPv4)

**displayName**

The name given to your server (String of characters)

**port**

The listening port of your server. Inherited from your farm if not defined (Number, 1..65535)

**status** \*

If your server is activated or not (Boolean)

:::

#### Get the details of a server linked to a UDP farm


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/udp/farm/{farmId}/server/{serverId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/udp/farm/-farmId-/server/-serverId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**serverId** \*

The identifier of your server (Number)

**farmId** \*

The identifier of your farm (Number)

:::

#### Modify the properties of a UDP server


🇪🇺EU▾

[PUT/ipLoadbalancing/{serviceName}/udp/farm/{farmId}/server/{serverId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#put-/ipLoadbalancing/-serviceName-/udp/farm/-farmId-/server/-serverId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**serverId** \*

The identifier of your server (Number)

**farmId** \*

The identifier of your farm (Number)

**BackendUdpServer** \*

- **displayName**

The name of your server (String of characters)

- **port**

The listening port of your server (Number, 1..65535)

- **status**

If your server is activated or not (Boolean)

:::

#### Removing a server from a UDP farm


🇪🇺EU▾

[DELETE/ipLoadbalancing/{serviceName}/udp/farm/{farmId}/server/{serverId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#delete-/ipLoadbalancing/-serviceName-/udp/farm/-farmId-/server/-serverId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**serverId** \*

The identifier of your server UDP (Number)

**farmId** \*

The identifier of your farm UDP (Number)

:::

### Frontends UDP

#### List UDP frontends attached to a OVHcloud Load Balancer service


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/udp/frontend](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/udp/frontend)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**defaultFarmId**

The identifier of the UDP farm to which the UDP frontend is linked (Number)

**port**

The listening port on your frontend (Number, 1..65535)

**zone**

The name of your zone, ex: all (String of characters)

:::

#### Add a UDP frontend to a OVHcloud Load Balancer service


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/udp/frontend](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/udp/frontend)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**dedicatedIpfo**

The list of IP addresses of the remote servers to which your Load Balancer is connected (IPv4\[])

**defaultFarmId** \*

The default UDP farm identifier for your frontend (Number)

**disabled**

If your UDP frontend is disabled or enabled (Boolean)

**displayName**

The name of your UDP frontend (String of characters)

**port** \*

The listening port on your frontend (Number, 1..65535)

**zone** \*

The name of your zone, ex: all (String of characters)

:::

#### Get the details of a UDP frontend


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/udp/frontend/{frontendId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/udp/frontend/-frontendId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**frontendId** \*

The identifier of your frontend UDP (Number)

:::

#### Modify the properties of a UDP frontend


🇪🇺EU▾

[PUT/ipLoadbalancing/{serviceName}/udp/frontend/{frontendId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#put-/ipLoadbalancing/-serviceName-/udp/frontend/-frontendId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**frontendId** \*

The identifier of your frontend UDP (Number)

**FrontendUdp** \*

- **dedicatedIpfo**

The list of IP addresses of the remote servers to which your Load Balancer is connected (IPv4\[])

- **disabled**

If your UDP frontend is disabled or enabled (Boolean)

- **displayName**

The name of your UDP frontend (String of characters)

:::

#### Delete a UDP frontend


🇪🇺EU▾

[DELETE/ipLoadbalancing/{serviceName}/udp/frontend/{frontendId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#delete-/ipLoadbalancing/-serviceName-/udp/frontend/-frontendId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**frontendId** \*

The identifier of your frontend UDP (Number)

:::

## Other features

### Additional IP

#### List Additional IPs routed on a OVHcloud Load Balancer service


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/failover](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/failover)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

:::

### Service Status

#### Obtenir l'état des instances d'un service OVHcloud Load Balancer


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/instancesState](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/instancesState)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

:::

#### List the output IPs used by OVH for NAT


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/natIp](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/natIp)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

:::

#### Apply changes to a OVHcloud Load Balancer service


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/refresh](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/refresh)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

:::

### SSL Certificates

#### List SSL certificates of a OVHcloud Load Balancer service


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/ssl](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/ssl)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**fingerprint**

Lists the fingerprint of the SSL certificate (String of characters)

**serial**

Lists the identification number of the SSL certificate (String of characters)

**type**

Type of SSL certificate (Value)

:::

#### Add a new SSL object


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/ssl](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/ssl)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**certificate** \*

Adding the SSL certificate (String of characters)

**chain**

Adding the intermediate SSL certificate (String of characters)

**key** \*

Adding the private key (String of characters)

:::

#### Get the details of an SSL object


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/ssl/{id}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/ssl/-id-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**id** \*

The identifier of your SSL certificate (Number)

:::

#### Delete an SSL object


🇪🇺EU▾

[DELETE/ipLoadbalancing/{serviceName}/ssl/{id}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#delete-/ipLoadbalancing/-serviceName-/ssl/-id-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**id** \*

The identifier of your SSL certificate (Number)

:::

### Tasks

#### List current tasks for a OVHcloud Load Balancer service


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/task](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/task)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**action** \*

Consultation of available tasks (Values)

:::

#### Get the details of a task


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/task/{id}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/task/-id-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**id** \*

The identifier of your task (Number)

:::

### Contact

#### Initiate a contact change


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/changeContact](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/changeContact)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**contactAdmin**

The OVH NIC to be configured for the Admin contact of this service (String of characters)

**contactBilling**

The OVH NIC to be configured for the Admin contact of this service (String of characters)

**contactTech**

The OVH NIC to be configured for the Admin contact of this service (String of characters)

:::

### vRack

#### Description of the private networks attached to the load balancer


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/vrack/network](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/vrack/network)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**subnet**

Allows to filter according to the network used

**vlan**

Allows to filter according to the vlan used

:::

#### Add a private network in the vRack


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/vrack/network](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/vrack/network)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**displayName**

The name you want to give to the network (String of characters)

**farmId**

Identification table of farms that you wish to attach to this private network

**natIp**

An IP block reserved for the load balancer to reach the servers.

**subnet**

The IP block of the private network

**vlan**

Vlan of the private network in the vRack. 0 if the private network is not in a vlan

:::

#### Retrieve, modify or delete a private network


🇪🇺EU▾

[GET/ipLoadbalancing/{serviceName}/vrack/network/{vrackNetworkId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#get-/ipLoadbalancing/-serviceName-/vrack/network/-vrackNetworkId-)


🇪🇺EU▾

[PUT/ipLoadbalancing/{serviceName}/vrack/network/{vrackNetworkId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#put-/ipLoadbalancing/-serviceName-/vrack/network/-vrackNetworkId-)


🇪🇺EU▾

[DELETE/ipLoadbalancing/{serviceName}/vrack/network/{vrackNetworkId}](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#delete-/ipLoadbalancing/-serviceName-/vrack/network/-vrackNetworkId-)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**vrackNetworkId** \*

The identifier of the private network

:::

#### Modify the list of farms attached to a private network


🇪🇺EU▾

[POST/ipLoadbalancing/{serviceName}/vrack/network/{vrackNetworkId}/updateFarmId](https://eu.api.ovh.com/console/?section=/ipLoadbalancing&branch=v1#post-/ipLoadbalancing/-serviceName-/vrack/network/-vrackNetworkId-/updateFarmId)

:::details Parameters :

**serviceName** \*

The identifier of your Load Balancer, for example : "loadbalancer-abcdef0123456789" (String of characters)

**vrackNetworkId** \*

The identifier of the private network

**farmId** \*

Table of farm identifiers that you wish to attach to this private network. The Value "null" removes the vrack network id from all farms where it was configured.

:::

## Go further

Join our [community of users](https://community.ovhcloud.com/).
