Is it possible to create an access token using GitHub api for a service account with 2FA enabled without access to UI?

Viewed 340

I have a service account that I need to use to access GitHub.
This service account has two-factor authentication enabled.

I do not have access to the UI.
I do have the password for that service account.

I need to create a personal access token and to accept transfer of a GitHub app to this service account.
Is this possible using the GitHub API v4?

1 Answers
Related