How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

HAProxy Force Be Switch API

The ForceBeSwitch API from HAProxy — 2 operation(s) for forcebeswitch.

HAProxy Force Be Switch API is one of 68 APIs that HAProxy publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include ForceBeSwitch. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, a GitHub repository, and a changelog.

This API exposes 5 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.2.0, at version 3.4.

Requests are made against a single base URL, /v3.

5 operations 2 paths 3 schemas 1 DELETE2 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
3.4
Base URL
http://{haproxy-host}:5555/v3
Authentication
HTTP Basic
Resource Areas
1

Authentication & Security 1

HAProxy Force Be Switch API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (basic_auth). By default, every request must be authenticated.

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

ForceBeSwitch 5
GET
/services/haproxy/configuration/frontends/{parent_name}/force_be_switches
Return an array of force-be-switch rules
getAllForceBeSwitches 2 params → 200default
POST
/services/haproxy/configuration/frontends/{parent_name}/force_be_switches
Add a new force-be-switch rule
createForceBeSwitch 4 params body → 201202400409default
DELETE
/services/haproxy/configuration/frontends/{parent_name}/force_be_switches/{index}
Delete a force-be-switch rule
deleteForceBeSwitch 5 params → 202204404default
GET
/services/haproxy/configuration/frontends/{parent_name}/force_be_switches/{index}
Return one force-be-switch rule
getForceBeSwitch 3 params → 200404default
PUT
/services/haproxy/configuration/frontends/{parent_name}/force_be_switches/{index}
Replace a force-be-switch rule
replaceForceBeSwitch 5 params body → 200202400404default

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are force_be_switch (3 properties), error (2 properties). Each schema is shown below with its type and property counts.

force_be_switch
object
Allow content switching to select a backend instance even if it is disabled or unpublished. May appear multiple times on a frontend.
3 properties 2 required
error
object
API Error
2 properties 2 required
force_be_switches
array

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

haproxy-forcebeswitch-api-openapi.yml Raw ↑

Other APIs HAProxy publishes across the network.

HAProxy Runtime API
HAProxy Kubernetes Ingress Controller
HAProxy ACL API
HAProxy ACL Runtime API
HAProxy Acme API
HAProxy Acme Runtime API
HAProxy Backend API
HAProxy Backend Switching Rule API
HAProxy Bind API
HAProxy Cache API
HAProxy Configuration API
HAProxy Crt Load API
Where this information came from

This is an independent, third-party profile of HAProxy Force Be Switch API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.