Loading TOC...

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())

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