Function apps_slash_delete_authorization

Source
pub async fn apps_slash_delete_authorization(
    configuration: &Configuration,
    client_id: &str,
    apps_delete_authorization_request: AppsDeleteAuthorizationRequest,
) -> Result<(), Error<AppsSlashDeleteAuthorizationError>>
Expand description

OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use Basic Authentication when accessing this endpoint, using the OAuth application’s client_id and client_secret as the username and password. You must also provide a valid OAuth access_token as an input parameter and the grant for the token’s owner will be deleted. Deleting an application’s grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the application will have no access to the user’s account and will no longer be listed on the application authorizations settings screen within GitHub.