DUO Admin REST API


#1

Hello,

I need to know process to consume DUO rest API to create user.
What’s the complete syntax of DUO REST API for below?can you provide me sample REST API URL which i can consume from my application?

GET /admin/v1/users

Basically, i want to create DUO users, enrollment, adding user to group pro-grammatically.
I am planning to consume Duo REST API for achieving this.

Regards,
Sachin


#2

Please take a look at our Admin API documentation and our example duo_client code on GitHub. For example, here is Python demo code: https://github.com/duosecurity/duo_client_python/blob/master/duo_client/admin.py.