use postman2::PostmanClient; use postman2::model::*; #[tokio::main] async fn main() { let client = PostmanClient::from_env(); let mock_uid = "your mock uid"; let response = client.delete_mock(mock_uid).send().await.unwrap(); println!("{:#?}", response); }