Rancher LB service rules

Hi.

We’re testing some automated service deployments by trying to add the new Load Balancer service rule based on the request host header to the existing LB. Before v1.2, it could be done with action=addservicelink, but that doesn’t seem to be the case anymore. So, let’s say I have the following data example:

new service ID: 1s155
LB service ID: 1s24
hostname (request host header): test2.com

What would be the correct curl command for the v2-beta API to add the new service?

Thanks.

Take a look at Dynamic Add Service to Load Balanacer