Add ExpireMachine spec to rpc

This commit is contained in:
Kristoffer Dalby 2021-11-21 13:40:04 +00:00
parent f85a77edb5
commit f1c05f8010
7 changed files with 534 additions and 204 deletions

View file

@ -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"