Create a device password
POST/nevisidm/api/core/v1/:clientExtId/users/:userExtId/device-passwords
Since: 7.2402.0
Required permission(s): AccessControl.CredentialCreate
Creates a new device password credential for the specified user.
If the associated password policy has resetCodeEnabled set to true, the password is auto-generated and its first part (part 0, length set by the resetCodeLen0 policy parameter) is returned in the passwordFragment field of the response body. 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. If resetCodeEnabled is false, the password must be provided in the request body.
Request
Responses
- 201
- 403
- 404
- 422
Device password created successfully
Response Headers
URL of the created resource
Insufficient permissions
Referenced resource not found
Invalid request parameters