Updated to use api.cloud.