Internal
Revoke access
Internal endpoint to revoke access tokens. Use with caution. Requires HKA_REVOCATION_KEY environment variable authentication. This is used for Revoker to allow security researchers to revoke compromised tokens.
post/api/internal/revoke
Request body
Example request
{
"token": "3f8e9c2a-7b14-4d6e-9a2f-1c8b5d3e7f01"
}Response
created
Example response
{
"success": true,
"status": "complete",
"token_type": "Desktop",
"owner_email": "orpheus@hackclub.com",
"key_name": "Revoker admin key"
}