xdmp.databaseRestoreCancel

xdmp.databaseRestoreCancel(
   jobid as (Number|String)
) as 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.databaseRestoreCancel(33030877979801813489)
=> true
Powered by MarkLogic Server | Terms of Use | Privacy Policy