def METHOD_NAME(
    self,
    scopes: Opt[list[str]] = NotSet,
    add_scopes: Opt[list[str]] = NotSet,
    remove_scopes: Opt[list[str]] = NotSet,
    note: Opt[str] = NotSet,
    note_url: Opt[str] = NotSet,
) -> None:
    """
    :calls: `PATCH /authorizations/{id} <https://docs.github.com/en/developers/apps/authorizing-oauth-apps>`_
    :param scopes: list of string
    :param add_scopes: list of string
    :param remove_scopes: list of string
    :param note: string
    :param note_url: string
    :rtype: None
    """
    assert isinstance(scopes, _NotSetType) or all(isinstance(element, str) for element in scopes), scopes
    assert isinstance(add_scopes, _NotSetType) or all(
        isinstance(element, str) for element in add_scopes
    ), add_scopes
    assert isinstance(remove_scopes, _NotSetType) or all(
        isinstance(element, str) for element in remove_scopes
    ), remove_scopes
    assert isinstance(note, (_NotSetType, str)), note
    assert isinstance(note_url, (_NotSetType, str)), note_url
    post_parameters = NotSet.remove_unset_items(
        {
            "scopes": scopes,
            "add_scopes": add_scopes,
            "remove_scopes": remove_scopes,
            "note": note,
            "note_url": note_url,
        }
    )
    headers, data = self._requester.requestJsonAndCheck("PATCH", self.url, input=post_parameters)
    self._useAttributes(data)