Passwords
Generate a password using a policy
Generates a new password based on the specified password policy. The policy strength (e.g., Strong, Medium, Weak) should be passed in the INPUT_DATA query param.
get/restapi/json/v1/passwords/generate
Request
- Base URLhttps://Hostname:Port
- AuthAPI key in header AUTHTOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
passwordPolicystring
Name of the password policy to use
Headers
orgNamestring
Name of the Organization (for MSP/multi-org deployments)
Response
Generated password
Example response
{
"operation": {
"Details": {
"PASSWORD": "C_4Z#la!n5!DGH16"
},
"name": "GENERATE PASSWORD"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.