/api/reverse-proxies/services/{serviceId}Replace a reverse proxy service
Replaces the configuration of an existing reverse proxy service. Supply name, domain, and enabled, and include the service settings and targets you want applied. A 200 response returns the updated service object.
JSON configuration for the service. Supply name, domain, and enabled; the remaining fields configure access, routing, and backend targets.
A 400 is returned when the request is invalid; a 401 indicates missing authentication, a 403 indicates forbidden access, a 404 indicates that the service was not found, 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. The serviceId path parameter must identify the service to replace.