public function removeTemplateUser($template_id, $id_or_email)
    {
        $key = strpos($id_or_email, '@') ? 'email_address' : 'account_id';

        $response = $this->rest->post(
            static::TEMPLATE_REMOVE_USER_PATH . '/' . $template_id,
            array($key => $id_or_email)
        );

        $this->checkResponse($response);

        return new Template($response);
    }
public function removeTemplateUser($template_id, $id_or_email)
    {
        $key = strpos($id_or_email, '@') ? 'email_address' : 'account_id';

        $response = $this->rest->post(
            static::TEMPLATE_REMOVE_USER_PATH . '/' . $template_id,
            array($key => $id_or_email)
        );

        $this->checkResponse($response);

        return new Template($response);
    }
public function removeTemplateUser ( $ template_id , $ id_or_email ) { $ key = strpos ( $ id_or_email , '@' ) ? 'email_address' : 'account_id' ; $ response = $ this -> rest -> post ( static :: TEMPLATE_REMOVE_USER_PATH . '/' . $ template_id , array ( $ key => $ id_or_email ) ) ; $ this -> checkResponse ( $ response ) ; return new Template ( $ response ) ; }
Removes the specified Account access to the specified Template. The user
can be designated using their account ID or email.

@param  string $template_id Template ID to remove the Account access to.
@param  string $id_or_email Account ID or email address to remove access to the Template.
@return Template
@throws BaseException
Removes the specified Account access to the specified Template . The user can be designated using their account ID or email .