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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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:)