Herald
OpenapiUser

Handle_begin_reauth

POST
/api/user/reauth

Authorization

bearer_auth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

targetOperation*TargetOperation
Value in"change_password" | "change_email" | "bind_authenticator" | "remove_authenticator" | "delete_account"

Response Body

application/json

curl -X POST "https://example.com/api/user/reauth" \  -H "Content-Type: application/json" \  -d '{    "targetOperation": "change_password"  }'
{  "availableFactors": [    "password"  ],  "challenge": null}
Empty