Change a password
POST/nevisidm/api/core/v1/:clientExtId/users/:userExtId/password/change
Since: 2.71.0
Required permission(s): AccessControl.CredentialModify or SelfAdmin Role
Changes the password of the user with the given external ID, belonging to the specified client.
The oldPassword parameter in the request body is mandatory when a self-admin user changes their own password. When the caller changes the password of another user, the oldPassword parameter should be omitted and will be ignored.
This operation is not available when the password policy has resetCodeEnabled set to true.
Request
Responses
- 204
- 403
- 404
- 422
Password changed successfully
Operation restricted
Referenced resource not found
Invalid request parameters