GET
/
project
/
{project_id}
/
location
/
{location}
/
load-balancer
curl --request GET \
  --url https://api.ubicloud.com/project/{project_id}/location/{location}/load-balancer \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "items": [
    {
      "algorithm": "<string>",
      "stack": "<string>",
      "dst_port": 123,
      "health_check_endpoint": "<string>",
      "health_check_protocol": "<string>",
      "hostname": "<string>",
      "id": "1bhw8r4pn73t1m5f7rn7a5pej2",
      "name": "<string>",
      "src_port": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

location
string
required

The Ubicloud location/region

Example:

"eu-central-h1"

Query Parameters

start_after
string

Pagination - Start after

page_size
integer
default:
10

Pagination - Page size

order_column
string
default:
id

Pagination - Order column

Response

200
application/json
A list of Load Balancers
count
integer
required
items
object[]
required