From Bright Pattern Documentation
Bring Host into Service and Take Host out of Service
This method brings a host into service (inMaintenance=false) and takes a host out service (inMaintenance=true).
Request
| URL | http[s]://<host>:<port>/configapi/v2/selfservice/host/<host_name>?inMaintenance=true|false |
| Method | POST |
Response
| Code | Body |
| 200 | Empty |
| 404 | Host is not found |