Enable or disable the supervision maintenance mode
Enable or disable the cluster supervision (agency) maintenance mode
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).
200: is returned when everything went well.
400: if the request contained an invalid body
501: if the request was sent to a node other than a coordinator or single-server
504: if the request timed out while enabling the maintenance mode