Request the server to enter drain mode
Initiates drain mode and optionally waits for the server to quiesce.
x-api-key<token>
In: header
timeoutSec?integer
Format
int32reason?string
waitForQuiesce?boolean
Response Body
curl -X POST "http://localhost:8080/v1/admin:drain" \ -H "Content-Type: application/json" \ -d '{}'{
"state": "string",
"quiesced": true,
"message": "string"
}Empty
Empty