Create 2FA application
Create and configure a new 2FA application.
Authorizations:
Scopes:
Request rate limit:
Request Body schema:
configuration | object Created 2FA application configuration. | ||||||||||||
| |||||||||||||
enabled | boolean Indicates whether the created application is enabled. | ||||||||||||
name required | string 2FA application name. |
Responses
successful response
Bad Request
Unauthorized
Forbidden
Too Many Requests
Error responses
Internal Server Error
Error responses
Request samples
- Payload
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
{- "name": "2fa application name",
- "enabled": true,
- "configuration": {
- "pinAttempts": 5,
- "allowMultiplePinVerifications": true,
- "pinTimeToLive": "10m",
- "verifyPinLimit": "2/4s",
- "sendPinPerApplicationLimit": "5000/12h",
- "sendPinPerPhoneNumberLimit": "2/1d"
}
}
Response samples
- default
- 400
- 401
- 403
- 429
- 4XX
- 500
- 5XX
{- "applicationId": "1234567",
- "name": "Application name",
- "configuration": {
- "pinAttempts": 5,
- "allowMultiplePinVerifications": true,
- "pinTimeToLive": "10m",
- "verifyPinLimit": "2/4s",
- "sendPinPerApplicationLimit": "5000/12h",
- "sendPinPerPhoneNumberLimit": "2/1d"
}, - "enabled": true
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See