def METHOD_NAME(
    self,
    method: str,
    api_version: str = '1.0',
    print_error: bool = True,
    *args,
    **kwargs,
):
    headers = kwargs.pop('headers', {})
    headers['Authorization'] = f'Bearer {self.auth.access_token}'
    if 'Accept' not in headers:
        headers['Accept'] = f'application/json;v={api_version}'
    res = requests.METHOD_NAME(method=method, headers=headers, *args, **kwargs)
    if not res.ok:
        msg = f'{method} request to {res.url=} failed with {res.status_code=} {res.reason=}'
        if print_error:
            ci.util.error(f'Request failed {res.status_code=} {res.text=} {msg=}')
        raise CXNotOkayException(res=res, msg=msg)
    return res