cURL
curl --request POST \ --url https://sandbox.finhub.cloud/api/v2.1/twoFA/createTFAOption \ --header 'Content-Type: application/json' \ --header 'X-Forwarded-For: <x-forwarded-for>' \ --data '{ "customerId": "<string>", "method": "<string>", "destination": "<string>", "setAsPreferred": true }'
{ "customerId": "<string>", "method": "<string>", "destination": "<string>", "preferred": true, "lastUpdated": "2022-03-10T12:15:50.000Z", "status": "<string>" }
Create a two-factor authentication option
Forwarded client IP address
Client user agent information
Tenant identifier for multi-tenant operations
Option created successfully
The response is of type object.
object