Upgrade container using API?

Found the solution: Upgrade Rancher Service using REST API