Add ExpireMachine spec to rpc
This commit is contained in:
parent
f85a77edb5
commit
f1c05f8010
7 changed files with 534 additions and 204 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue