Loading TOC...

MarkLogic 12 EA 2 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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.