Allow to delete routes (#1244)
This commit is contained in:
parent
c9ecdd6ef1
commit
ea82035222
17 changed files with 790 additions and 258 deletions
|
@ -150,6 +150,12 @@ service HeadscaleService {
|
|||
};
|
||||
}
|
||||
|
||||
rpc DeleteRoute(DeleteRouteRequest) returns(DeleteRouteResponse) {
|
||||
option(google.api.http) = {
|
||||
delete : "/api/v1/routes/{route_id}"
|
||||
};
|
||||
}
|
||||
|
||||
// --- Route end ---
|
||||
|
||||
// --- ApiKeys start ---
|
||||
|
|
|
@ -45,4 +45,11 @@ message GetMachineRoutesRequest {
|
|||
|
||||
message GetMachineRoutesResponse {
|
||||
repeated Route routes = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message DeleteRouteRequest {
|
||||
uint64 route_id = 1;
|
||||
}
|
||||
|
||||
message DeleteRouteResponse {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue