Loading TOC...

xdmp.databaseRestoreCancel

xdmp.databaseRestoreCancel(
   $jobid as 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.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.