Reissue compromised token with the same policies

Hello.

I have a token with rule sets for some subdomains. This token was (kinda) compromised. Is there an easy way to reissue the token with the same rule sets? I really don’t wanna make all these curls to the API again.

Not as far as I know.
(Though you could use the API to get all of the policy rules for the old token. Maybe you could massage the output to generate similar rules for the new token from that output?)

I’d recommend writing a small script for that.

HTH
fiwswe