User management
Update user access to Rudder
Rename, change password (pre-hashed or not) and change permission of an user. If a parameter is empty, it will be ignored.
post/usermanagement/update/{username}
Request
- Base URLhttps://rudder.example.com/rudder/api/latest
- AuthAPI key in header X-API-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
usernamestring required
Example:JaneDoe
Username of an user (unique and must not contain whitespace)
Request body
Example request
{
"username": "johndoe",
"password": "passwdWillBeStoredHashed",
"permissions": [
"admin"
]
}Response
Updated
Example response
{
"data": {
"updatedUser": {
"username": "johndoe",
"password": "secret_password",
"permissions": [
"inventory"
]
}
}
}Changes
No recorded changes to this operation across all 7 revisions of this API.