curl --request PUT \ --url https://gateway.cyrexa.com/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>" }'
{ "id": "<string>", "createdAt": "<string>", "updatedAt": "<string>", "tenantId": "<string>", "login": true, "trading": true, "funding": true, "userId": "<string>" }
The access token received from the authorization server in the OAuth 2.0 flow.
Tenant/Owner id