Closed bretterer closed 4 years ago
Create a user with credentials, activated by default → POST /api/v1/users?activate=true
const newUser = { profile: { firstName: 'John', lastName: 'Change-Password', email: 'john-change-password@example.com', login: 'john-change-password@example.com' }, credentials: { password: { value: 'Abcd1234' } } };
Change the password to '1234Abcd' → POST /api/v1/users/{{userId}}/credentials/change_password
Get the user and verify that 'passwordChanged' field has increased → GET /api/v1/users/{{userId}}/
TODO → Authenticate the user with updated password (Authn APIs not supported in SDK yet)
Deactivate & delete the user → POST /api/v1/users/{{userId}}/lifecycle/deactivate + DELETE /api/v1/users/{{userId}}
Create a user with credentials, activated by default → POST /api/v1/users?activate=true
Change the password to '1234Abcd' → POST /api/v1/users/{{userId}}/credentials/change_password
Get the user and verify that 'passwordChanged' field has increased → GET /api/v1/users/{{userId}}/
TODO → Authenticate the user with updated password (Authn APIs not supported in SDK yet)
Deactivate & delete the user → POST /api/v1/users/{{userId}}/lifecycle/deactivate + DELETE /api/v1/users/{{userId}}