Canary Speech

ChangeAuthPassword

POST - /v3/auth/change-password
Required Permissions:
  • scope:auth.manage

Description

Changes the password of the specified user. If user pool is subjects, projectId is required.

Headers

Header KeyDescriptionExample
Content-Type
The content type for this request.
application/json

Body Parameters

NameTypeDescription
* userPoolstring
The user pool to authenticate against.
projectIduuid
The project ID for the subject if targeting the subjects pool.
* usernamestring
The user for which login credentials should be created.
* newPasswordstring
The password for the user's login.

Successful Response

A successful response

Field NameTypeDescription
messagestring
"OK"

Code Example

Models

userPool

The user pool to authenticate against.

EnumTypeDescription
"subjects"string
"users"string