PUT
/
twoFA
/
changeTwoFa
/
{customerId}
curl --request PUT \
  --url https://gateway.finhub.cloud/customer/twoFA/changeTwoFa/{customerId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "login": true,
  "trading": true,
  "funding": true,
  "customerId": "<string>"
}'
{
  "id": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "tenantId": "<string>",
  "login": true,
  "trading": true,
  "funding": true,
  "userId": "<string>"
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Tenant/Owner id

Path Parameters

customerId
string
required

Body

application/json
login
boolean
trading
boolean
funding
boolean
customerId
string

Response

200 - application/json
id
string
createdAt
string
updatedAt
string
tenantId
string
login
boolean
trading
boolean
funding
boolean
userId
string