DELETE /{db}{design-doc-id}

In this document

Request


Response


Example


The following example deletes the attachment named sample_attachment for the design document with the identifier _design/beer4.

Request

DELETE  /beer-db/_design/beer4?rev=1-2ed3e22a2f64b5364028e5b5842fcf41 HTTP/1.1
Host: localhost:59840

Response

HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Length: 93
Content-Type: application/json
Date: Thu, 24 Apr 2014 01:12:40 GMT
Etag: "2-3ffcf34c607db6536249d981932cfd89"
Server: CouchbaseLite 1.495
{
   "id": "_design/beer4",
   "rev": "2-3ffcf34c607db6536249d981932cfd89",
   "ok": true
}