10 Jul 2024 06:59 PM - last edited on 12 Jul 2024 02:15 PM by MaciejNeumann
Is there a way to bulk delete access tokens?
We were using the third-party Ping integration, which requires an access token.
We aren't using them anymore, and I have several hundred disabled, but I would like to delete them.
10 Jul 2024 07:09 PM
You can use API to delete access tokens
https://docs.dynatrace.com/docs/shortlink/api-tokens-v2-api-del-token
you can use postman to call the api and delete bulk token OR you can use python also for bulk deletion
10 Jul 2024 08:09 PM
Yes but I would have to retrieve the IDs of all of the tokens and loop them through the api call. I know how to do that I just wondered if there was a way to select all the tokens that are disabled and delete them. Within the GUI would be preferred.
10 Jul 2024 09:53 PM
If pulling the values for the tokens is a pain point, your only going to be able to click one by one and select delete. Are you SaaS? im thinking maybe the services portal would have more of a bulk delete. But if your not a SaaS customer thats out of the question.