generate
Password
@PutMapping(headers = []
)
Endpoint used to generate a new password for a user
Return
the result of the request as String
Parameters
userId
The identifier of the user
token
The token of the user
deviceId
The identifier of the device of the user
payload
Payload of the request
{
"length" : "the length of the password" -> [Integer],
"include_numbers" : "whether the generated password must include the numbers" -> [Boolean],
"include_uppercase_letters": "whether the generated password must include the uppercase letters" -> [Boolean],
"include_special_characters": "whether the generated password must include the special characters" -> [Boolean],
"tail": "the tail of the password" -> [String],
"scopes": "the scopes of the password" -> [String]
}
Content copied to clipboard