1 2 3 4 5 6 7 8 9 10 11
use crate::{OroClient, OroClientError}; impl OroClient { pub async fn delete_token(&self, token: &String) -> Result<(), OroClientError> { self.client .delete(self.registry.join(&format!("-/user/token/{token}"))?) .send() .await?; Ok(()) } }