Type to search...

Cloud: update


HTTP request

PUT /cloud/v1/<cloudId> HTTP/1.1


PATCH /cloud/v1/<cloudId> HTTP/1.1


Paramete name Value Description
Path parameters
cloudId String ID of cloud

Request Body

Property name Value Description
name string Name of the cloud
description string Description of the cloud
settings object Cloud settings
firewall string object | Firewall ID or existing firewall object


If successful, this method returns a Cloud resource in the response body.

Response HTTP status code

HTTP status code Description
200 Success, returns with cloud resource
429 Too many requests

Rate limit

Detailed information for cloud rate limitation is available on Shardimage developers.


use shardimage\shardimagephp\auth\Client;
use shardimage\shardimagephp\models\cloud\Cloud;
$client = new Client([
    'apiKey' => '<apiKey>',
    'apiSecret' => '<apiSecret>',
    'imageSecret' => '<imageSecret>',
try {
    $cloud = $client->getCloudService()->find('<cloudId>');
    $cloud->name = 'myUpdatedCloud';
    $cloud->description = 'Let\'s make this cloud secure!';
    $cloud->settings = [
        "deliverySecureUrl" => [
            "status" => true
    $cloud = $client->getCloudService()->update($cloud);
} catch (\Exception $e) {
    // Handling the error
Table of contents