Loading TOC...

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

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