API Token Manager
This gives an option to generate token in Monyog and use it in API as an alternative to user and password. Note that this feature is available only for Admin users in Monyog. Admin can create multiple tokens for different purposes and revoke/delete it from inside Monyog whenever required. This also helps him to not share his password with anyone else as well as saves him from getting it logged in some logs. After clicking on the "GENERATE NEW TOKEN" button, the user should give a name which will be associated with the generated token. The generated token can be used in Monyog API in following way:
curl -H "X-MONYOG-TOKEN: 1234567890abcedfghijklmnopqrstuvwxyz" \ "http://192.168.1.1:5555/?_object=MONyogAPI&_action=DataCollection\ &_value=enable&_server=Production001"