Hetzner Cloud icon

Hetzner Cloud

Manage servers, volumes, networks and more in Hetzner Cloud

Load Balancer → Add Service

AI-generated

Summary

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.

Links

Discussion