Is it possible to do this programmatically via the https://api.atlassian.com/oauth/
endpoint?
Possibly related answer for Confluence: Solved: Revoke access token/app via API
I don’t see anything about it in the docs here: https://developer.atlassian.com/cloud/jira/platform/oauth-2-authorization-code-grants-3lo-for-apps/