Generate a new key from an existing one
One step with Unkey. We can help you get access.
Get something done
Generate a new key from an existing one
Use Unkey: its Unkey Keys API lets you generate a new key from an existing one in a single step (POST /v2/keys.rerollKey). capabilities.work can help you get signed up and connected.
- How do I rotate a key to a new token while keeping its settings?
- Can I set an expiration on the original key when rerolling?
Say it to your AI assistant
- Reroll key {keyId} with expiration {expiration}.
- Rotate key {keyId} so the original is revoked after {expiration}.
For your developer
POST /v2/keys.rerollKey in Unkey Keys API. Full spec on APIs.io.