Method | POST /_restart | |
Request | None | |
Response | JSON status message | |
Admin Privileges Required | yes | |
Return Codes | ||
201 | Document created successfully. |
Restarts the CouchDB instance. You must be authenticated as a user with administration privileges for this to work.
For example:
POST http://admin:password@couchdb:5984/_restart
The return value (if the server has not already restarted) is a JSON status object indicating that the request has been received:
{ "ok" : true, }
If the server has already restarted, the header may be returned, but no actual data is contained in the response.