Personal and service account keys can be rotated or revoked. Create a new API key or service account user, then reconfigure scripts to use the new key. After reconfiguration, remove the old API key from your profile or team.
Administrator
Security
Rotate or revoke API keys by creating a new key, updating your scripts, then removing the old key.