Working on a NodeJS Application with Github's OAuth

I have been developing a OAuth system for my website but discovered theres no possible way to revoke access_tokens via the old API Route https://api.github.com/applications/{client_id}/tokens/{accessToken}

My code looks a little like this:

 axios.delete(`https://api.github.com/applications/${config.OAuth2_Github.client_id}/tokens/${req.user.accessToken}`, {
                    headers: {
                        Authorization: config.OAuth2_Github.client_secret,
                    },
                    contentType: "application/json",
                });

Any information on how I could go about doing this would be highly appreciated.