...
REST query /cdn/enforce_state allows forcefully change certain node state, for example, exclude the Transcoder node from route elections. Node can be pushed out of CDN with query
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/cdn/enforce_state HTTP/1.1
Content-Length: 20
Content-Type: application/json
{
"state": "PASSIVE"
} |
and then can be pulled back
Code Block | ||||
---|---|---|---|---|
| ||||
POST /rest-api/cdn/enforce_state HTTP/1.1
Content-Length: 19
Content-Type: application/json
{
"state": "ACTIVE"
} |
To drop enforced state, an emty query body should be passed
...