Section: Auth tokens and profile

Revoke auth token

bash
bash
npm token revoke <id>
Explanation

Delete an auth token.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Auth tokens and profile
List auth tokens
Show tokens for the current account.
OpenIn sheetbashsame section
Create auth token
Create a new auth token.
OpenIn sheetbashsame section
Get profile info
Read the current npm profile.
OpenIn sheetbashsame section
Set profile info
Update profile fields.
OpenIn sheetbashsame section
List config values
Display effective npm configuration.
OpenIn sheetbash1 tag match
Verify cache
Validate the integrity of the npm cache.
OpenIn sheetbash1 tag match