Running LATEST docspace on Ubuntu 24
Hi, I’d like to be able to REMOVE the requirement for a specific account to use TFA and THEN FORCE a new QR code to be generated for the same account to be scanned into 2FAS (or google authenticator)
I don’t want to allow access by IP OR SMS address, but 2FA ONLY
Trying to figure out HOW to use curl for this.
[1] Get an admin token ( I have the admin user/pass for docpsce)
curl -u adminuser:adminpass https://yourportal.onlyoffice.com/api/2.0/people/@self
[2] remove TFA from the account
curl -L -X PUT ‘/api/2.0/settings/tfaappnewapp’
-H ‘Content-Type: application/json’
-H ‘Accept: application/json’
-d ‘{
“type”: “None”,
“id”: “aae1e103-bca5-9fa1-ba8c-42058b4abf28”,
“trustedIps”: [
“some text”
],
“mandatoryUsers”: [
“75a5f745-f697-4418-b38d-0fe0d277e258”
],
“mandatoryGroups”: [
“75a5f745-f697-4418-b38d-0fe0d277e258”
]
}’
Some guidance here would be useful.
Need to let someone add a NEW QR code and enable TFA for the same account to a NEW device as their old phone id dead
Thanks
Ivan