Loading TOC...

POST /manage/v2/tickets/{ticketnumber}/revert

Summary

This resource address reverts to the configuration that existed before installing the package associated with the specified ticket (ticketnumber). The ticketnumber is in the ticket URI returned by the install operation.

Reverting an installed package does not remove any imported forests.

Required Privileges

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

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

Example


      curl -X POST --digest -u admin:admin -H "Content-type: application/xml" \
      "http://localhost:8002/manage/v2/tickets/12345687/revert" 

      ==> Restores the configuration on localhost to that which existed before 
          installing the package identified by ticket 12345687.

    

Comments

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