Create a new password for the user identified by the user_id path parameter.
Security
api-key
The user's password or passcode used to log in a user. Passwords must be:
- minimum 8 characters for end-users (Consumers and Corporates); 12 characters for others
- maximum 30 characters
- include a lowercase character
- include an uppercase character
- include a digit and a special character
- different from any of the 5 last such passwords used.
For non-PCI compliant integrations, the password submitted must be tokenised.
- Weavr Sandbox Environmenthttps://sandbox.weavr.io/multi/passwords/{user_id}/create
- Mock serverhttps://api.weavr.io/_mock/products/multi/openapi/passwords/{user_id}/create
curl -i -X POST \
'https://sandbox.weavr.io/multi/passwords/{user_id}/create' \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"password": {
"value": "pa$$word"
}
}'Response
{ "passwordInfo": { "identityId": { … }, "expiryDate": 0 }, "token": "string" }