Cloud Providers /
Drain cluster node
Drain a node by evicting all running pods.
Required permission
Account > Cloud > Clusters > Update
Path parameters
clusterId
string requiredID of the clusternodeId
string requiredID of the node
Response body
- {object}Response object.
data
{object} requiredResult data.
API
CLI
JS Client
POST /v1/cloud-providers/clusters/{clusterId}/nodes/{nodeId}/drain
Example response
200 OK
The operation was performed successfully.
JSON
{
"data": {}
}