Loading TOC...

DELETE /manage/v2/packages/{pkgname}

Summary

This resource address deletes 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" 

     ==> Deletes the package named "test-package". 

    

Comments

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