Use the REST API to manage the access OAuth applications have to your account.
ghes
*
API
3
/rest/reference/oauth-authorizations
About OAuth authorizations
You can use the REST API to manage the access OAuth applications have to your account. You can only access these endpoints via Basic Authentication using your username and password, not tokens.