Skip to main content
PUT
/
twoFA
/
changeTwoFa
/
{customerId}
cURL
curl --request PUT \
  --url https://gateway.7exchange.io/customer/1.0.0/twoFA/changeTwoFa/{customerId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '
{
  "login": true,
  "trading": true,
  "funding": true,
  "customerId": "<string>"
}
'
{
  "reason": "<string>",
  "path": "<string>",
  "method": "<string>",
  "message": "<string>",
  "timestamp": "<string>",
  "status": 123
}

Authorizations

Authorization
string
header
required

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

Headers

tenantId
string
required

Path Parameters

customerId
string
required

Body

application/json
login
boolean
trading
boolean
funding
boolean
customerId
string | null

Response

Internal server error

reason
string

Reason phrase

path
string

Request path

method
string

Method type of the request

message
string

Error message

timestamp
string

Timestamp of the error

status
integer<int32>

Relevant HTTP status code