API call to generate a password

API call to generate a password

Hello,

What is the proper API call using curl to generate a password?

  1. curl -k -X GET -H "AUTHTOKEN:$TOKEN" -H "Content-Type: application/json" -d 'INPUT_DATA={"operation":{"Details":{"POLICY":"Strong"}}}' https://pmp.local:7272/restapi/json/v1/passwords/generate

That call returns "The specified policy does not exist."   However, I can issue a similar call to list the polices, and I do in fact see that listed.

Thanks,
J

      New to ADSelfService Plus?

        Resources

                Related Products