MarkLogic 12 Product Documentation
xdmp:remove-dynamic-hosts

xdmp:remove-dynamic-hosts(
   $hostIds as xs:unsignedLong*
) as 

Summary

This function removes the specified dynamic hosts from the cluster.

Parameters
hostIds A list of host ids of dynamic hosts.

Required Privileges

http://marklogic.com/xdmp/privileges/remove-dynamic-hosts

Usage Notes

Remove specified dynamic hosts from the cluster.

Example

(: removes all dynamic hosts from the cluster :)
xdmp:remove-dynamic-hosts(xdmp:get-dynamic-hosts())
Powered by MarkLogic Server | Terms of Use | Privacy Policy