Herald
OpenapiUser

Handle_verify_reauth

POST
/api/user/reauth/verify

Authorization

bearer_auth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

factor*ReauthFactor
Value in"password" | "totp" | "passkey"
passkeyAssertion?null|
password?string|null
targetOperation*TargetOperation
Value in"change_password" | "change_email" | "bind_authenticator" | "remove_authenticator" | "delete_account"
totpCode?string|null

Response Body

application/json

curl -X POST "https://example.com/api/user/reauth/verify" \  -H "Content-Type: application/json" \  -d '{    "factor": "password",    "targetOperation": "change_password"  }'
{  "expiresIn": 0,  "reauthToken": "string"}
Empty
Empty