← Back to Storage domain

Storage.setStorageBucketTracking

Set tracking for a storage key's buckets.

Domain: Storage experimental

Parameters

NameTypeDescription
storageKeystring
enableboolean

Example Request

{
  "id": 1,
  "method": "Storage.setStorageBucketTracking",
  "params": {
    "storageKey": "storageKey-value",
    "enable": true
  }
}

Example Response

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

Usage in Node.js

const result = await send('Storage.setStorageBucketTracking', {"storageKey": "storageKey-value", "enable": true});
console.log(result);