Regenerate Api Key

Regenerate API key for authenticated user (JWT protected).

SECURITY:

  • Old key is immediately invalidated
  • New key is returned once (user must save it)
  • Rate limited to prevent abuse (1 per 2 hours)
  • All user state is preserved (rate limits, subscription, billing)
  • Uses frontend JWT authentication (not API key)

This is safe because all restrictions are tied to user_id, not the API key.

post/v1/auth/regenerate-api-key

Response

Successful Response

{"stackTrail":"paths:/v1/auth/regenerate-api-key:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.