AddSecondFactorToLoginPolicy
Request Body
application/json
type?string
Value in
"SECOND_FACTOR_TYPE_UNSPECIFIED" | "SECOND_FACTOR_TYPE_OTP" | "SECOND_FACTOR_TYPE_U2F" | "SECOND_FACTOR_TYPE_OTP_EMAIL" | "SECOND_FACTOR_TYPE_OTP_SMS" | "SECOND_FACTOR_TYPE_RECOVERY_CODES"[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://loading/policies/login/second_factors" \ -H "Content-Type: application/json" \ -d '{}'{
"details": {
"sequence": 0,
"creationDate": "1s",
"changeDate": "1s",
"resourceOwner": "string"
}
}{
"code": "not_found",
"message": "string",
"detail": {
"type": "string",
"value": "string",
"debug": {}
}
}Was this page helpful?