Skip to content

Generate Password

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"}

CM-Well Security Features

Login API

Managing CM-Well Users

Change Password API

Invalidate Cache API