Support in Remote API v1.24 for docker service scale


I am looking into using Docker Swarm Mode. Swarm mode has a command to scale the services (docker service scale command). I am trying to find the equivalent capability in the remote API (to be able to automatically scale).

What is the equivalent API for “docker service scale”?

Thank you.