Get OTP Brute Force Status
The Get OTP Brute Force status Digitanium API gets OTP Brute Force lock status of a user.
Resource Informations
Name | Value |
---|---|
Requires authentication? | Yes |
Rate limited? | No |
Request
Request headers
Key | Value |
---|---|
Authorization | Bearer token |
Content-Type | application/json |
HTTP request URL for SSMS
GET https://{tenantId}.{hostname}/digitanium/v3/users/{userName}/otp-brute-force
HTTP request URL for SHIFT
GET https://{hostname}/auth/realms/{tenantId}/v3_user/{userName}/otp-brute-force
note
API requests must be made over https. Calls made over plain http will fail.
Parameters
No Parameters fields are required.
Request body
No request body fields are required.
Response
Field Name | Type | Description |
---|---|---|
message | String | Message explains result of the API call. Refer Response status Information for details. |
status | String | The status of the API call. Refer Response status Information for details. |
subSystem | Integer | subSystem categorizes the type of API that has been called. Refer Subsystem details for details. |
otp_disabled | Boolean | otp_disabled explains the status of the user, whether the user got locked (true) or unlocked (false) by OTP Brute Force. Refer Response status Information for details. |
otp_numFailures | Integer | otp_numFailures is the number of failures occured for the user to get locked (true). Refer Response status Information for details. |
otp_lastIPFailure | String | otp_lastIPFailure is the website's last IP domain used by the User. |
otp_lastFailure | Long | Otp_lastFailure results the timestamp when the user was locked. |
Sample Response
{
"message": "User Otp brute force status fetched successfully",
"status": "Success",
"subSystem": 5,
"data": {
"otp_disabled": true,
"otp_numFailures": 5,
"otp_lastIPFailure": "127.0.0.1",
"otp_lastFailure": 1659965023172
}
Response Status Information
Status Code | Status | Message |
---|---|---|
200 | Success | Users info fetched successfully |
401 | Unauthorized | HTTP 401 Unauthorized |