docs drop
Delete an entire document from the local node
Arguments
name | necessity | description |
---|---|---|
doc | required | Document to operate on. |
Examples
docs drop
> docs create --switch
2aoukeibc2vdy5n2jlihnyv3e26cmketqbropptqfef3v7poe5eq
Active doc is now 2aoukeibc2vdy5n2
author:luo73rdznvupzrjb doc:2aoukeibc2vdy5n2
> docs set key value
bafkr4iagirfesfxon7wneztow6ila3w5mm53jnmcq4sek6nnnxxv7wk6bm
> docs drop 2aoukeibc2vdy5n2jlihnyv3e26cmketqbropptqfef3v7poe5eq
Deleting a document will permanently remove the document secret key, all document entries,
and all content blobs which are not referenced from other docs or tags.
Delete document 2aoukeibc2vdy5n2? yes
Doc 2aoukeibc2vdy5n2 has been deleted.