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
<cfhttp method="delete" url="https://api-2fa0b2f8.duosecurity.com/admin/v1/users/#get_user.userid#" />
<cfhttpparam type = "header" name = "appkey" value = "#appkey#">
<cfhttpparam type = "header" name = "secret" value = "#secret#">
</cfhttp>
Or the <cfscript>
equivalent.
Post a Comment for "Creating A User Using Duo Security Admin API"