curl --request POST \
--url https://api.unibee.dev/merchant/edit_totp_config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"activate": true
}
'{
"code": 123,
"data": {},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}curl --request POST \
--url https://api.unibee.dev/merchant/edit_totp_config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"activate": true
}
'{
"code": 123,
"data": {},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
activate 2FA for all members, all members need 2FA while login if activate, otherwise not