Reset a device password
POST/nevisidm/api/core/v1/:clientExtId/users/:userExtId/device-passwords/:extId/reset
Since: 8.2511.0
Required permission(s): AccessControl.CredentialView,AccessControl.CredentialModify or SelfAdmin Role
Resets the device password credential with the given external ID belonging to the specified user.
Depending on the password policy, the response either contains the first part (part 0, length set by the resetCodeLen0 policy parameter) of the generated password in the passwordFragment field (HTTP 201) or no content is returned (HTTP 204). The stored password is part 0 followed by part 1 (length set by resetCodeLen1), which is delivered to the user through the configured communication channel. When resetCodeLen1 is 0, the returned value is the complete password.
Supports self-admin mode with JWT token validation.
Request
Responses
- 201
- 403
- 404
- 422
Device password reset successfully, password fragment returned
Operation restricted
Referenced resource not found
Invalid request parameters