mirror of
https://github.com/juanfont/headscale.git
synced 2025-12-06 07:42:25 -05:00
add rpc method for moving node
This commit is contained in:
@@ -104,6 +104,12 @@ service HeadscaleService {
|
||||
get: "/api/v1/machine"
|
||||
};
|
||||
}
|
||||
|
||||
rpc MoveMachine(MoveMachineRequest) returns (MoveMachineResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/api/v1/machine/{machine_id}/namespace"
|
||||
};
|
||||
}
|
||||
// --- Machine end ---
|
||||
|
||||
// --- Route start ---
|
||||
|
||||
Reference in New Issue
Block a user