/v1/users/{id}/recovery
const url = 'https://api.reindeer.example.tr/v1/users/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/recovery';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.reindeer.example.tr/v1/users/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/recovery \ --header 'Authorization: Bearer <token>'Scope users:write, fresh step-up. Requests the recovery of a person who lost every passkey
(ADR-0011). Nobody in that person’s control chain, the person included, can decide it. Once
approved it becomes an invite that names the account in recovers and stays open for
limits.recovery_lifetime (24 hours); only the administrator who requested it may issue its
code (403 recovery_requester_only otherwise). Redeeming the code adds a new passkey to the same
account, removes its other passkeys and sessions, and adds the requester, the code issuers and
the approver to the account’s controllers.
Authorizations
Bölüm başlığı “Authorizations”Parameters
Bölüm başlığı “Parameters”Path Parameters
Bölüm başlığı “Path Parameters”Responses
Bölüm başlığı “Responses”Approval waiting for a second person
object
object
Everyone who controlled the requester when the request was made: the issuers of its codes, the person who requested a machine, and their controllers in turn
object
Example
{ "approval": { "kind": "identity.create", "state": "pending" }}RFC 9457 problem
object
Example generated
{ "status": 1, "code": "example", "title": "example", "detail": "example", "type": "example"}Recover_self for your own account, account_disabled for a disabled one