Skip to main content

Regenerate Key

POST 

/auth/regenerate-key

Regenerate the user's API key.

Atomically revokes the old key and creates a new one. Returns the new raw key ONCE - it will never be retrievable again. Does NOT reset the daily usage counter (quota is per user_id). Requires Authorization: Bearer access_token header.

Responses

Successful Response