Herald
OpenapiUser

Handle_begin_reauth

POST
/api/user/reauth

Authorization

bearer_auth
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
targetOperation*TargetOperation
Value in"change_password""change_email""bind_authenticator""remove_authenticator""delete_account"

Response Body

application/json
  1. response
availableFactors*array<>
challenge?unknown
Example Request
curl -X POST 'https://example.com/api/user/reauth' \
  -H 'Content-Type: application/json' \
  -d '{
  "targetOperation": "change_password"
}'
Example Response
{
  "availableFactors": [
    "password"
  ],
  "challenge": null
}