Skip to main content
Set a user's password

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

id
string
required

Username of the account whose password is to be set.

Minimum string length: 1
Pattern: ^[A-Za-z0-9.@_+-]+$
Example:

"john.doe+member@example.com"

Body

application/json
newPassword
string
required

Password to set. It has to be strong enough for the tenant and different from the one in use.

Maximum string length: 128
Example:

"SecurePassword123"

disableActiveTokens
boolean

Whether the person is signed out everywhere else at the same time, so that a session opened with the old password cannot be carried on.

Response

The password was set.

status
string

Outcome of the operation, reported as a status type constant.

Example:

"SUCCESS"