I searched and didn't found, can I delete a field of a couchdb's document using curl ?
The most I can do is delete a document:
curl -X DELETE http://localhost:5984/users/jack?rev=1-cee2abbbe4afefa9b3b5db10260c0c94
Thanks.
If you want delete any field, you need edit document via PUT method, where you send all fields of document, id and rev. included, but without field for delete. Http method DELETE is only for delete complete document, no field in that:)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With