pub async fn delete(&self, team_slug: impl Into<String>) -> Result<()> {
        let url = format!(
            "orgs/{org}/teams/{team}",
            org = self.owner,
            team = team_slug.into(),
        );
        crate::map_github_error(self.crab._delete(&url, None::<&()>).await?)
            .await
            .map(drop)
    }
/// Deletes a team from the organization.
/// ```no_run
/// # async fn run() -> octocrab::Result<()> {
/// octocrab::instance().teams("owner").delete("some-team").await?;
/// # Ok(())
/// # }
/// ```
Deletes a team from the organization.
Deletes a team from the organization .
pub async fn delete(&self, team_slug: impl Into<String>) -> Result<()> {
        let url = format!(
            "orgs/{org}/teams/{team}",
            org = self.owner,
            team = team_slug.into(),
        );
        crate::map_github_error(self.crab._delete(&url, None::<&()>).await?)
            .await
            .map(drop)
    }
pub async fn delete ( & self , team_slug : impl Into < String > ) -> Result < ( ) > { let url = format ! ( " " org self owner team team_slug into ( ) ) ; crate :: map_github_error ( self . crab . _delete ( & url , None :: < & ( ) > ) . await ? ) . await . map ( drop ) }
Deletes a team from the organization.
Deletes a team from the organization .
&self
team_slug
impl Into<String>
&self
team_slug
impl Into<String>
async fn run() -> octocrab::result<()> {
None
ok(())
None
}
None