Fix method parameter of cloud api call