nodes
Drain a node.
Changed onMarks a node as draining so no new machines are placed on it. Requires the admin scope.
post/v1/nodes/{id}/drain
Request
- Base URLhttps://api.smolmachines.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Node id
Response
Node draining
Changes
- info
the endpoint scheme security
ApiKeyAuthwas added to the API - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info