public function deleteChannelFromCommunity($channelIdentifier, $accessToken)
    {
        if (!$this->apiVersionIsGreaterThanV3()) {
            throw new EndpointNotSupportedByApiVersionException();
        }

        if (!is_numeric($channelIdentifier)) {
            throw new InvalidIdentifierException('channel');
        }

        return $this->delete(sprintf('channels/%s/community', $channelIdentifier), [], $accessToken);
    }
public function deleteChannelFromCommunity($channelIdentifier, $accessToken)
    {
        if (!$this->apiVersionIsGreaterThanV3()) {
            throw new EndpointNotSupportedByApiVersionException();
        }

        if (!is_numeric($channelIdentifier)) {
            throw new InvalidIdentifierException('channel');
        }

        return $this->delete(sprintf('channels/%s/community', $channelIdentifier), [], $accessToken);
    }
public function deleteChannelFromCommunity ( $ channelIdentifier , $ accessToken ) { if ( ! $ this -> apiVersionIsGreaterThanV3 ( ) ) { throw new EndpointNotSupportedByApiVersionException ( ) ; } if ( ! is_numeric ( $ channelIdentifier ) ) { throw new InvalidIdentifierException ( 'channel' ) ; } return $ this -> delete ( sprintf ( 'channels/%s/community' , $ channelIdentifier ) , [ ] , $ accessToken ) ; }
Remove a channel form a community

@param string|int $channelIdentifier
@param string     $accessToken
@throws InvalidIdentifierException
@throws EndpointNotSupportedByApiVersionException
@return null
Remove a channel form a community