MCPcopy Create free account
hub / github.com/BigBoot/AutoKuma / delete_monitor

Method delete_monitor

kuma-client/src/client.rs:623–629  ·  view source on GitHub ↗
(self: &Arc<Self>, monitor_id: i32)

Source from the content-addressed store, hash-verified

621 }
622
623 pub async fn delete_monitor(self: &Arc<Self>, monitor_id: i32) -> Result<()> {
624 let _: bool = self
625 .call("deleteMonitor", vec![json!(monitor_id)], "/ok", true)
626 .await?;
627
628 Ok(())
629 }
630
631 async fn update_monitor_tags(self: &Arc<Self>, monitor_id: i32, tags: &Vec<Tag>) -> Result<()> {
632 let new_tags = tags

Callers 2

delete_entity_by_idMethod · 0.80
handleFunction · 0.80

Calls 1

callMethod · 0.45

Tested by

no test coverage detected