merjax_revoke_all_credentials
Site admins only (needs an 'admin'-scoped token). Revoke every browser session, personal access token (repository tokens included) and OAuth grant — for every user (scope 'platform') or for one (scope 'user' + username). Optionally force a password reset (old password stops working, reset email sent) and 2FA re-enrolment (seeds and recovery codes deleted). Confirm by sending confirm exactly: 'REVOKE ALL CREDENTIALS' for platform, 'REVOKE ' for one user; anything else changes nothing. Platform scope revokes YOUR OWN sessions and tokens too, including the token making this call. Audit-logged. Not covered: SSH keys, passkeys, deploy keys/tokens, CI runners, app installation tokens. Returns counts, actorSignedOut and notCovered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | 'platform' (every user) or 'user' (one account) | |
| confirm | Yes | Exactly 'REVOKE ALL CREDENTIALS' (platform) or 'REVOKE <username>' (user) | |
| username | No | Required when scope is 'user' | |
| force_2fa_reenrol | No | Delete TOTP seeds and recovery codes so the user enrols again | |
| force_password_reset | No | Replace the password so the old one stops working, and send the reset email |