Actions111
- Action Actions
- Certificate Actions
- Datacenter Actions
- Firewall Actions
- Floating IP Actions
- Image Actions
- ISO Actions
- Load Balancer Actions
- Load Balancer Type Actions
- Location Actions
- Network Actions
- Placement Group Actions
- Pricing Actions
- Primary IP Actions
- Server Actions
- Server Type Actions
- SSH Key Actions
- Volume Actions
Load Balancer → Add Service
AI-generatedSummary
Add a service to a Hetzner Cloud load balancer by sending a POST request with the service definition to its add-service action. The operation returns the unwrapped action object from the API response.
Inputs
- Load Balancer (required) — Select a load balancer from the searchable list or enter its ID.
- Service / Target (JSON) — Provide the service definition as JSON, including protocol, listen_port, and destination_port. The JSON is merged into the request body.
- Request Options — Optionally configure batching, SSL certificate validation, an HTTP proxy, or request timeout.
Output shape
A single action object
The node unwraps the API response's action property. Invalid service JSON raises an error.