← Back to Storage domain

Storage.deleteStorageBucket

Deletes the Storage Bucket with the given storage key and bucket name.

Domain: Storage experimental

Parameters

NameTypeDescription
bucketStorageBucket

Example Request

{
  "id": 1,
  "method": "Storage.deleteStorageBucket",
  "params": {
    "bucket": "bucket-value"
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Storage.deleteStorageBucket', {"bucket": "bucket-value"});
console.log(result);