flexrep:pull-delete( $domain-id as xs:unsignedLong, [$target-id as xs:unsignedLong] ) as empty-sequence()
This function deletes the pull configuration from the Replica database.
(: Execute against a Replica database. :) xquery version "1.0-ml"; import module namespace flexrep = "http://marklogic.com/xdmp/flexible-replication" at "/MarkLogic/flexrep.xqy"; let $domain := 9535475951259984368 return flexrep:pull-delete($domain) (: Removes the Pull Replication configuration element from the Replica database. :)
http://marklogic.com/xdmp/privileges/flexrep-admin