Type to search...

Cloud: delete

Depending on the amount of data in the cloud, the deletion will take time, but image hosting from the cloud will stopped immediately.

Please take into consideration, this action has no effect on images stored in the CDN.

Request

HTTP request

DELETE /clouds/v1/<cloudId> HTTP/1.1

Parameters

Paramete name Value Description
Path parameters
cloudId String ID of cloud

Request Body

This method does not support request body.

Response

This method does not contain request body.

Response HTTP status code

HTTP status code Description
204 Cloud successfully deleted
404 Cloud does not exist

For more information about HTTP codes, click here.

Rate limit

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

SDK

use shardimage\shardimagephp\auth\Client;
 
$client = new Client([
    'apiKey' => '<apiKey>',
    'apiSecret' => '<apiSecret>',
    'imageSecret' => '<imageSecret>',
]);
 
$result = $client->getCloudService()->delete('<cloudId>');
Table of contents