delete-doc ( assoc -- deletion-revision )


Vocabulary
couchdb

Inputs
assocan object


Outputs
deletion-revisionan object


Definition


: delete-doc ( assoc -- deletion-revision )
[ [ doc-url % ] [ "?rev=" % "_rev" of % ] bi ] "" make
couch-delete response-ok "rev" of ;