Enable or disable the supervision maintenance mode

Enable or disable the cluster supervision (Agency) maintenance mode

PUT /_admin/cluster/maintenance

This API allows you to temporarily enable the supervision maintenance mode. Be aware that no automatic failovers of any kind will take place while the maintenance mode is enabled. The cluster supervision reactivates itself automatically 60 minutes after disabling it.

To enable the maintenance mode the request body must contain the string "on". To disable it, send the string "off" (Please note it must be lowercase as well as include the quotes).

Return codes

  • 200:

  • 400:

  • 501:

  • 504: