mirror of
https://github.com/juanfont/headscale.git
synced 2025-12-04 14:37:08 -05:00
Add ExpireMachine spec to rpc
This commit is contained in:
@@ -92,6 +92,12 @@ service HeadscaleService {
|
||||
};
|
||||
}
|
||||
|
||||
rpc ExpireMachine(ExpireMachineRequest) returns (ExpireMachineResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/api/v1/machine/{machine_id}/expire"
|
||||
};
|
||||
}
|
||||
|
||||
rpc ListMachines(ListMachinesRequest) returns (ListMachinesResponse) {
|
||||
option (google.api.http) = {
|
||||
get: "/api/v1/machine"
|
||||
|
||||
Reference in New Issue
Block a user