
### exchange_code <a name="exchange_code"></a>
Exchange one-time auth key for api key



**API Endpoint**: `GET /auth/exchange_key`

#### Example Snippet

```rust
let client = sideko_rest_api::SidekoClient::default()
    .with_api_key_auth(&std::env::var("API_KEY").unwrap())
    .with_cookie_auth(&std::env::var("API_KEY").unwrap());
let res = client
    .auth()
    .exchange_code(sideko_rest_api::resources::auth::ExchangeCodeRequest {
        code: "string".to_string(),
    })
    .await;
```
