APIs

A public forum for all your questions about Duo’s API. Troubleshoot API issues and learn from our community how others are protecting their applications.
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Forum Posts

All of the documented functions for retrieving bypass codes include the following note: “Does not return the actual bypass codes.” The Admin panel clearly allows you to show the existing codes. How do you retieve them with the Admin API?

Cervero by Community Member
  • 2959 Views
  • 3 replies
  • 0 Helpful votes

I am looking for an example of using the perl api to get a list one phone numbers in duo and deleting phone numbers from duo. If you use the web admin console to delete a user it deletes the phone device if no one else is using it also. The api to de...

bidwell by Community Member
  • 1825 Views
  • 1 replies
  • 0 Helpful votes

I’m wondering how people here have tackled unit testing their DUO Verify backend endpoints? It seems there isn’t a good way to generate a sign response for testing purposes nor is there a mock-sdk. I was thinking of using nock but it also seems that ...

geverett1 by Community Member
  • 2052 Views
  • 0 replies
  • 0 Helpful votes

I am trying to follow the guide on: https://github.com/duosecurity/duo_nodejs/blob/master/README.md but I am getting this error: Error: Cannot find module 'duo_web’ All of the “npm install” stages seem to be passing properly. To make things clear I a...

c-eshalev by Community Member
  • 1755 Views
  • 0 replies
  • 0 Helpful votes

I’m in the process of writing some code to, via the DUO API, delete users that have left my university and no longer qualify for our license. In looking over the API, it seems that the logic will be something like this: For every user_id to be delete...

I integrated duo to several of our web applications successfully some months back. I recently got our Duo proxy server set up and I want to convert some of our sites to use the HTTP Proxy function rather than pointing directly to Duo. I thought that ...

Cervero by Community Member
  • 2877 Views
  • 1 replies
  • 0 Helpful votes

I currently have duo 2fa integrated with our custom webapp. I would like to now be able to create a user on our account using the admin api. But I cannot find any documentation that has an example of how to do so. I can see from the documentation tha...

Hello, I’m new to Duo Security and have recently successfully integrated Duo Security into my ColdFusion webapp. But now I am trying to expand on that by trying to implement the Admin API to create and delete a user account. I have followed the admin...

Hello, I created a account on Duo.com and manually added couple of users and groups then i have a client which is trying to perform an ldap search i am able to do a ldap_bind successfully but when we try to do a search it fails with ldap error: Criti...

suthakka by Cisco Employee
  • 2188 Views
  • 5 replies
  • 0 Helpful votes

Hi Team, I have signed up Duo recently and I am an administrator. I am trying to explore preauth and auth functionality. I have added Web SDK as protected application. I tried /ping, /check and /logo REST APIs through Java code and able to get the re...

Hi everyone, We’re in the process of rolling out DUO to all of our internal apps at work - and since I was using the API so much I wrote this library in my spare time to make it a bit easier. It’s a .NET Standard library that wraps an HttpClient obje...

orionstudt by Community Member
  • 1969 Views
  • 2 replies
  • 0 Helpful votes

I see the general setup instructions here: https://duo.com/docs/device-management Anyone have more granular instructions for a beginner on setting this up? Not sure what to do with the supported client library. Can you walk me through a generic IIS s...

Jeff Beneze by Community Member
  • 4107 Views
  • 3 replies
  • 2 Helpful votes

Hi All Im wondering if anyone has any packet flow documentation or diagrams? I have DUO working on a windows 7 vm and am looking at it for Sales force through pingone the request is something like initial HTTPS request at sso.connect.example.com Log ...

Nick_Coleman by Community Member
  • 1531 Views
  • 0 replies
  • 1 Helpful votes
Quick Links