Skip to main content

Enable recovery or replace the saved code

POST 

/v2/profile/:slug/recovery-code

Requires the current owner edit token. Returns a new 256-bit secret; only its hash is stored. Save it privately outside the original browser. Replaces any previous code and invalidates pending recovery retries, without changing the edit token. There is no read-back endpoint. All responses use Cache-Control no-store. Concurrency is capped at five requests per server instance for this endpoint.

Request​

Responses​

Save the new recovery code securely