Revoking and regenerating Snyk API tokens
If you suspect an API token has been leaked, it is good practice to revoke that token and generate a new one to use in its place.
APT token screen, Revoke & Regenerate button
Click the Revoke & Regenerate button to revoke your API token. A new one will be generated in its place. You can now copy the newly generated API token and update integrations that used the old key.