About this endpoint
What it does
Generates a cryptographically secure random password and returns it in a JSON object along with the password length used.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| length | Integer | No | Password length. Default: 16. Minimum: 8. Maximum: 128. |
| symbols | Boolean | No | Whether to include symbols. Default: true. |
Response
Returns a JSON object with length as an integer and password as a string. The length field reflects the generated password length, and password contains the generated password value.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| length | Integer | No | Generated password length. |
| password | String | No | Generated password. |