5.3. DELETE /db

MethodDELETE /db
Request None
Response JSON success statement
Admin Privileges Requiredno
Return Codes
200 Database has been deleted
404 The requested content could not be found. The returned content will include further information, as a JSON object, if available.

Deletes the specified database, and all the documents and attachments contained within it.

To delete the database recipes you would send the request:

DELETE http://couchdb:5984/recipes
Content-Type: application/json

If successful, the returned JSON will indicate success

{
   "ok" : true
}