Specifies if a One-Time Password (OTP) is required to exchange a token.
Security
SecretApiKey or JWT
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/authentication-options
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/authentication-options
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/authentication-options
curl -i -X PUT \
https://www.rebilly.com/_mock/catalog/all/authentication-options \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"passwordPattern": "/^[0-9]+$/",
"credentialTtl": 0,
"authTokenTtl": 0,
"resetTokenTtl": 0,
"otpRequired": true
}'Headers
Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.
Example:500
Number of requests still available for this rate limit. For more information, see Rate limits.
Example:499
Response
{ "passwordPattern": "/^[0-9]+$/", "credentialTtl": 0, "authTokenTtl": 0, "resetTokenTtl": 0, "otpRequired": true, "_links": [ { … } ] }