1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00
docs/developers/ocean-cli/editing-a-dataset.md
2023-09-29 11:19:48 +03:00

9 lines
460 B
Markdown

# Editting a dataset
To make modifications to a dataset, you can follow the steps outlined in the previous section titled [getting asset DDO](./getting-asset-ddo.md). After obtaining the asset's DDO and saving it as a JSON file, you can proceed to edit the metadata as needed. Once you've made the necessary changes, you can utilize the following command to apply the updated metadata:
```bash
npm run cli editAsset 'DATASET_DID' 'PATH_TO_UPDATED_FILE`
```