delete User Two Factor With Id
DELETE {{baseUrl}}/api/user/two-factor/:userId?methodId=<string>&code=<string>
Disable two-factor authentication for a user using a JSON body rather than URL parameters. OR Disable two-factor authentication for a user.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
methodId | string | The two-factor method identifier you wish to disable | |
code | string | The two-factor code used verify the the caller knows the two-factor secret. |
Request Body
{"applicationId"=>"<uuid>", "code"=>"<string>", "methodId"=>"<string>", "eventInfo"=>{"deviceDescription"=>"<string>", "deviceName"=>"<string>", "deviceType"=>"<string>", "ipAddress"=>"<string>", "location"=>{"city"=>"<string>", "country"=>"<string>", "latitude"=>"<double>", "longitude"=>"<double>", "region"=>"<string>", "zipcode"=>"<string>", "displayString"=>"<string>"}, "os"=>"<string>", "userAgent"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
""