Skip to content

Revoke an API key

Stop a pkgplane API key from working, either for now (disable) or for good (delete).

Updated

Revoke a key when you stop using it, or as soon as you think someone else has seen it. pkgplane gives you two ways:

Disable Delete
The key stops working At once At once
You can undo it Yes, enable it again No
The key stays in your list Yes, marked Disabled No

Disable a key you might need back, or one you want to keep a record of. Delete a key that leaked.

Disable or delete the key

  1. Open API keys.
  2. Find the key by its name, or by the first characters of the key in the Key column.
  3. Open its actions menu, select Disable or Delete, then confirm with Disable key or Delete key.

Check it no longer works

curl -i -H "Authorization: Bearer $PKGPLANE_API_KEY" https://pkgplane.richaisolutions.com/api/me

The API now answers 401 Unauthorized.

If the key leaked, also replace it: create a new key and update the secret wherever the old one was stored.

Type to search…

↑↓ navigate↵ selectEsc close