Loading TOC...

HEAD /manage/v2/packages/{pkgname}/databases/{name}


[DEPRECATED: use GET /manage/v3 and POST /manage/v3 instead.]

This resource address tests to see if the named database (name) is in the named package (pkgname). 200 OK is returned if the named database is in the package. Otherwise 404 Not Found is returned.


Upon success, MarkLogic Server returns status code 200 (OK). The response body contains the requested data.

Required Privileges

This operation requires the manage-user role, or the following privilege:



     curl -i -X HEAD --digest -u admin:admin \

     ==> Checks for the existence of the 'Documents' database in the package, 


Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.