Skip to content

Request new 2FA registration options during recovery

POST
/v1/account/recover/{recoveryId}/2fa/setup
curl --request POST \
--url https://api.parasta.io/v1/account/recover/example/2fa/setup \
--header 'Content-Type: application/json' \
--data '{ "method": "passkey" }'
recoveryId
required
string
Media type application/json
object
method
required
string
Allowed values: passkey

OK

Media type application/json
object
method
string
publicKeyOptions
object
publicKey
object
key
additional properties
any
setupToken
string
Example generated
{
"method": "example",
"publicKeyOptions": {
"publicKey": {}
},
"setupToken": "example"
}

Please contact your representative. 담당자에게 문의해주세요.