1. Home
  2. API Reference
  3. Device Management API

Device Management API

Authenticating the user’s device is important to protect your data. You can perform authentication at two stages: 

  • Login
  • Reset Password

If you have already automated these stages, device management APIs come in place to authenticate users automatically. This section provides information about the device management APIs for site administrators or support agents to manually approve or report the user’s devices that perform login or reset password attempts.  

Approve Device

Manually approves the user’s device.

$obj->approveDevice(DEVICEID);

DEVICEID: The Device ID that you receive in response to the login attempts.


RESPONSE:

  • Status: Represents the login attempt status. Success, and error. 
  • Message: If login attempt is successful, responds with a success message. If login attempt fails, the API responds with an appropriate error message. 

Deny Device

Manually flags a device as malicious.

$obj->denyDevice(DEVICEID);

DEVICEID: This is the device id that you receive in response to login attempts.


RESPONSE:

  • Status: Represents the login attempt status, success, and error.
  • Message: If login attempt is successful, responds with a success message. If login attempt fails, the API responds with an appropriate error message.
Updated on March 31, 2022

Was this article helpful?

Related Articles

Leave a Comment