Herald
OpenapiUser

Handle_verify_reauth

POST
/api/user/reauth/verify

Authorization

bearer_auth
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
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
  1. response
expiresIn*integer
Formatint64
Range0 <= value
reauthToken*string
Example Request
curl -X POST 'https://example.com/api/user/reauth/verify' \
  -H 'Content-Type: application/json' \
  -d '{
  "factor": "password",
  "targetOperation": "change_password"
}'
Example Response
{
  "expiresIn": 0,
  "reauthToken": "string"
}