I was running actions that consume the Confluence API and the tokens were deleted several times.
I use this wrapper https://pypi.org/project/md2cf/ of Confluence API.
Hi @Ezequiel Aguilera is this for Confluence Cloud, or Confluence Server/DC?
If cloud, you're creating them against your ID like this: https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/ . And AFAIK, there isn't a way to auto expire or delete them programmatically (via API).
If on server/DC, you're creating them at the product/app level like this: https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html. And there is an option to have them auto expire after a certain period of time.
Can you confirm which one you're using?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.