Skip to content Skip to sidebar Skip to footer

Creating A User Using Duo Security Admin Api

I am following this documentation for the Duo Security Admin Api: https://duo.com/docs/adminapi I am trying to create/delete a user using their API in my ColdFusion webapp but the

Solution 1:

application key and secret probably need to be sent via <cfhttpparam>

You are looking for something like

<cfhttpmethod="delete"url="https://api-2fa0b2f8.duosecurity.com/admin/v1/users/#get_user.userid#" /><cfhttpparamtype = "header"name = "appkey"value = "#appkey#"><cfhttpparamtype = "header"name = "secret"value = "#secret#"></cfhttp>

Or the <cfscript> equivalent.

Post a Comment for "Creating A User Using Duo Security Admin Api"