Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.42 KB

File metadata and controls

40 lines (24 loc) · 1.42 KB

Function: Generate Password


Go to:      Root TOC      Topic TOC      Previous Topic     Next Topic


Description

When creating a new CM-Well user, you can use the generate-password API to generate a random password and its encrypted value. This password can be changed later if required (see Change Password API).

Syntax

URL: <CMWellHost>/_auth?op=generate-password REST verb: GET Mandatory parameters: None.

Code Example

Call

curl <cm-well-host>/_auth?op=generate-password

Results

{"password":"t0OlrZGEM9","encrypted":"$2a$10$7AnXsjks.IZXTbpRiAGN4OQItwiz4sgxM49lvTiCjWgOhbbOQkg2m"}

Related Topics

CM-Well Security Features Login API Managing CM-Well Users Change Password API Invalidate Cache API


Go to:      Root TOC      Topic TOC      Previous Topic     Next Topic