lib/GitHub/Receiver/Organizations/Teams.php
public function removeTeamRepository(int $id): bool
    {
        $this->getApi()->request($this->getApi()->sprintf('/teams/:id/repos/:owner/:repo', (string)$id,
            $this->getOrganizations()->getOwner(), $this->getOrganizations()->getRepo()), Request::METHOD_DELETE);

        if ($this->getApi()->getHeaders()['Status'] == '204 No Content') {
            return true;
        }

        return false;
    }
public function removeTeamRepository(int $id): bool
    {
        $this->getApi()->request($this->getApi()->sprintf('/teams/:id/repos/:owner/:repo', (string)$id,
            $this->getOrganizations()->getOwner(), $this->getOrganizations()->getRepo()), Request::METHOD_DELETE);

        if ($this->getApi()->getHeaders()['Status'] == '204 No Content') {
            return true;
        }

        return false;
    }
public function removeTeamRepository ( int $ id ) : bool { $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/teams/:id/repos/:owner/:repo' , ( string ) $ id , $ this -> getOrganizations ( ) -> getOwner ( ) , $ this -> getOrganizations ( ) -> getRepo ( ) ) , Request :: METHOD_DELETE ) ; if ( $ this -> getApi ( ) -> getHeaders ( ) [ 'Status' ] == '204 No Content' ) { return true ; } return false ; }
Remove team repository

@link https://developer.github.com/v3/orgs/teams/#remove-team-repo

@param int $id

@return bool
@throws \Exception
Remove team repository