postman-api 2.0.0

Postman client, generated from the OpenAPI spec.
Documentation
1
2
3
4
5
6
7
8
9
use postman2::PostmanClient;
use postman2::model::*;
#[tokio::main]
async fn main() {
    let client = PostmanClient::from_env();
    let workspace_id = "your workspace id";
    let response = client.delete_workspace(workspace_id).send().await.unwrap();
    println!("{:#?}", response);
}