Create a Recovery Code
POST {{baseUrl}}/admin/recovery/code
This endpoint creates a recovery code which should be given to the user in order for them to recover (or activate) their account.
Request Body
{"identity_id"=>"<uuid>", "expires_in"=>"46877490ms"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"recovery_link":"\u003cstring\u003e","recovery_code":"\u003cstring\u003e","expires_at":"\u003cdateTime\u003e"}