Skip to main content

args_api/endpoint/runner/
delete_runner.rs

1use crate::endpoint::Endpoint;
2
3pub struct DeleteRunner;
4
5impl Endpoint for DeleteRunner {
6    const PATH: &'static str = "/ci/runner/{owner}/{name}";
7    const METHOD: http::Method = http::Method::DELETE;
8
9    type Request = DeleteRunnerRequest;
10    type Response = DeleteRunnerResponse;
11}
12
13pub type DeleteRunnerRequest = ();
14pub type DeleteRunnerResponse = ();