Least‑privilege token revocation without affecting other scoped tokens
0 reputation · 27 Nov 2025, 11:41 UTC
Qodana’s API tokens support scoped permissions (read‑only, write, admin) that were introduced in version 2022.12, enabling fine‑grained least‑privilege access.
When a token expires, the Qodana CLI or server returns a 401 Unauthorized response, forcing the user to manually generate a new token and re‑authenticate; the current implementation does not automatically refresh expiring tokens, and there is no documented method to revoke a single scoped token without affecting other tokens.
Can Qodana automatically refresh expiring API tokens, and is there a supported way to revoke an individual scoped token while preserving the remaining tokens?