Powered by Zoomin Software. For more details please contactZoomin

Administrate MarkLogic Server

Retiring Forests

  • Last Updated: April 15, 2026
  • 1 minute read
    • MarkLogic Server
    • Version 11.0
    • Documentation

You can “retire” a forest from a database in order to move all of its documents to the other forests and rebalance them among those forests, as described in How Data is Moved When a Forest is Retired from the Database.

This code shows how to retire the forest, 2011, from the Documents database,

curl -i -X POST --digest --user user:password -H \
"Content-Type:application/x-www-form-urlencoded" \
--data "state=retire&database=Documents" \
http://MyHost:8002/manage/v2/forests/2011
TitleResults for “How to create a CRG?”Also Available inAlert