/api/reverse-proxies/servicesCreate a reverse proxy service
Creates a reverse proxy service with the specified domain, enabled state, and service configuration. Supply name, domain, and enabled; configure mode and targets to define how requests reach the backends. A 200 response returns the created service object.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
JSON configuration for a reverse proxy service. Supply name, domain, and enabled; the remaining fields configure access, routing, and backend targets.
A 400 is returned when required fields are missing or a value fails validation; a 401 indicates missing authentication, a 403 indicates forbidden access, a 409 indicates a conflict, and a 500 indicates an internal server error. name, domain, and enabled are required; mode must be http, tcp, udp, or tls, and target protocol, target_type, and port values must satisfy their declared schema constraints. When private is true, mode must be http and access_groups must be provided; access_groups cannot be combined with bearer authentication.