DataHub supports a user changing their own password or resetting the password of users to which they have administrative access. This is currently supported via the REST API or the CLI. Utilizing the REST API to address both scenarios is outlined below.
Change Current User Password
Feature is only available through the REST API at this time
To change the current user's password, both the current password and the new password will need to be provided via a patch request to the /users/me endpoint or the /users/{{userID}} endpoint. Replace the userID including the curly braces with the ID for the current user
- Passwords must meet the following requirements:
- At least 8 characters
- At least one uppercase letter (A-Z)
- At least one digit (0-9)
- At least one non-alphanumeric character (!@#$%)
- Cannot contain the username
PATCH /users/me
|
User-Interface - Resetting a User's Password
Logged in as an Administrator with all permissions, select the user then the option to reset their password
- Passwords must meet the following requirements:
- At least 8 characters
- At least one uppercase letter (A-Z)
- At least one digit (0-9)
- At least one non-alphanumeric character (!@#$%)
- Cannot contain the username
REST API - Resetting a User's Password
To reset a different user's password, one must have access to administer that user's account. Replace the userID including the curly braces with the ID of the user for which the password is being reset
- Passwords must meet the following requirements:
- At least 8 characters
- At least one uppercase letter (A-Z)
- At least one digit (0-9)
- At least one non-alphanumeric character (!@#$%)
- Cannot contain the username
PATCH /users/userID
|