FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
+1 vote
223 views 0 comments
by anonymous
Hi,

During my exploration of the RMS API, I have been able to perform multiple actions using the client credentials OAuth flow and the SocketIO Status API including running commands on and up/downloading files to/from a TRB140 device.

The RMS API "POST /devices/passwords/set" however is the first action that errors out with a 403 with code  MFA_REQUIRED.

This seems to be undocumented.

So is the MFA restriction on this specific API by design? If so, how should I include MFA TOTP either in the OAuth token request or the set-password API?

Regards,

Bob

1 Answer

+1 vote
by anonymous
Hello Bob,

You should create and use Personal Access Token which prevents MFA confirmation prompt.
Best answer