POST
/
merchant
/
member
/
delete_totp_device
Admin Owner Or Admin Delete Own's' 2FA Device
curl --request POST \
  --url https://api.unibee.top/merchant/member/delete_totp_device \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "deviceIdentity": "<string>",
  "memberId": 123
}'
{
  "code": 123,
  "data": {
    "deviceList": [
      {
        "currentDevice": true,
        "identity": "<string>",
        "ipAddress": "<string>",
        "lastActiveTime": 123,
        "lastLoginTime": 123,
        "lastTotpVerificationTime": 123,
        "name": "<string>",
        "status": true
      }
    ]
  },
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200 - application/json

The response is of type object.