Account
Reveal an API key
Changed onReturns the full key again. Works only for keys created with revealable: true; other keys are shown once, at creation. Allowed for the key's owner (or a manager of the owning team) and for people the key is shared with. The response is never cacheable. Requires an app session (Supabase JWT), not an API key.
post/api-keys/{id}/reveal
Request
- Base URL: https://api.varg.ai/v2
- URL: https://api.varg.ai/v2/api-keys/{id}/reveal
- Auth: HTTP bearer
Path parameters
idstring uuid required
API key id
Response
The plaintext key
Example response
{
"api_key": "varg_a1b2c3..."
}Changes
- info
endpoint added
- info