Users
Modify User.
Update the data of an existing user.
Note: Requires administrator permissions if changing the email address.
patch/_api/user/{user}
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userstring string required
The id of the user.
Request body
Example request
{
"passwd": "P@55w0rd",
"displayName": "joe",
"newEmail": {
"email": "example@xxx.com"
}
}Response
Successfully modified user.
Example response
{
"code": 200,
"tenant": "_mm",
"user": "Ugr0xjYMS9y0eN5gBxSSmg",
"displayName": "test1",
"email": "test@foo.com",
"active": true,
"apikey": {
"hash": "1467ad2eed8e823f5a5db74aacd716d2f87dc3dde2bced8799e3c07dcf1c88ee",
"parent": "root"
},
"extra": {}
}Changes
No recorded changes to this operation across all 1 revision of this API.