pub async fn remove(
        &self,
        repo_owner: impl Into<String>,
        repo_name: impl Into<String>,
    ) -> Result<()> {
        let url = format!(
            "orgs/{org}/teams/{team}/repos/{owner}/{repo}",
            org = self.org,
            team = self.team,
            owner = repo_owner.into(),
            repo = repo_name.into(),
        );
        self.crab.delete(url, None::<&()>).await
    }
/// Removes a repository from a team.
/// ```no_run
/// # async fn run() -> octocrab::Result<()> {
/// octocrab::instance()
///     .teams("owner")
///     .repos("team")
///     .remove("owner", "repo")
///     .await?;
/// # Ok(())
/// # }
/// ```
Removes a repository from a team.
Removes a repository from a team .
pub async fn remove(
        &self,
        repo_owner: impl Into<String>,
        repo_name: impl Into<String>,
    ) -> Result<()> {
        let url = format!(
            "orgs/{org}/teams/{team}/repos/{owner}/{repo}",
            org = self.org,
            team = self.team,
            owner = repo_owner.into(),
            repo = repo_name.into(),
        );
        self.crab.delete(url, None::<&()>).await
    }
pub async fn remove ( & self , repo_owner : impl Into < String > , repo_name : impl Into < String > , ) -> Result < ( ) > { let url = format ! ( " " org self org team self team owner repo_owner into ( ) repo repo_name into ( ) ) ; self . crab . delete ( url , None :: < & ( ) > ) . await }
Removes a repository from a team.
Removes a repository from a team .
&self
repo_owner
impl Into<String>
repo_name
impl Into<String>
&self
repo_owner
impl Into<String>
repo_name
impl Into<String>
async fn run() -> octocrab::result<()> {
:instance()
.teams("owner")
.repos("team")
.remove("owner", "repo")
.await?.
: instance () . teams ( " owner " ) . repos ( " team " ) . remove ( " owner " " repo " ) . await? .
ok(())
None
}
None