Loading TOC...

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

Summary

This resource address deletes the named database (name) from the named package (pkgname).

Response

Upon success, MarkLogic Server returns status code 204 (No Content).

Required Privileges

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

http://marklogic.com/xdmp/privileges/manage

Example

 
     curl -X DELETE --digest -u admin:admin -H "Content-type: application/xml" \
     "http://localhost:8002/manage/v2/packages/test-package/databases/Documents" 

     ==> Deletes the 'Documents' database from the "test-package" package. 

    

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy