diff --git a/website/source/docs/agent/http/agent.html.markdown b/website/source/docs/agent/http/agent.html.markdown index ca15adebbb..1fa3f5a5cd 100644 --- a/website/source/docs/agent/http/agent.html.markdown +++ b/website/source/docs/agent/http/agent.html.markdown @@ -195,6 +195,10 @@ persistent and will be automatically restored on agent restart. The `?enable` flag is required, and its value must be `true` (to enter maintenance mode), or `false` (to resume normal operation). +The `?reason` flag is optional, and can contain a text string explaining the +reason for placing the node into maintenance mode. If no reason is provided, +a default value will be used instead. + The return code is 200 on success. ### /v1/agent/join/\ @@ -355,4 +359,8 @@ on agent restart. The `?enable` flag is required, and its value must be `true` (to enter maintenance mode), or `false` (to resume normal operation). +The `?reason` flag is optional, and can contain a text string explaining the +reason for placing the service into maintenance mode. If no reason is provided, +a default value will be used instead. + The return code is 200 on success.