MarkLogic 9 Product Documentation
xdmp:database-restore-cancel

xdmp:database-restore-cancel(
   $jobid as xs:unsignedLong
) as xs:boolean

Summary

Cancels an outstanding restore job with the specified job ID, returning true if the cancel operation is successful, false if the cancel operation is not successful.

Parameters
jobid A restore job ID.

Required Privileges

This operation requires at least one of the following privileges:

http://marklogic.com/xdmp/privileges/xdmp-database-restore-cancel

http://marklogic.com/xdmp/privileges/xdmp-database-restore-cancel/database/{id}

Example

xdmp:database-restore-cancel(33030877979801813489)
=> true
Powered by MarkLogic Server | Terms of Use | Privacy Policy