Edit an Existing User

The EditUser function is used to modify an existing user's meta data. Administrators can change one value or multiple values of a single user.

GET/Remote/EditUser

REQUEST PARAMETERS

ParameterTypeDescriptionRequired
mluser string Username - always in email form.
mltoken -or- mlpass string MapLarge generated auth token -or- the password for the mluser account.
id long ID of user to be modified.
username string Modify the username. Value should be updated username.
password string Modify the user's password. Value should be updated password. Minimum of 8 characters.
email string Modify the user's password. Value should be updated email.
tags string Modify user's tags. Value should be updated tag(s).
groups string Modify a user's group enrollment. Value should be new group ID(s) for enrollment.

EXAMPLE REQUEST

https://my.maplarge.com/Remote/EditUser?mluser=user@domain.com&mltoken=token&id=8563&username=modifiedtestuser6316&password=f2525jfsdf&email=modifiedtestuser6316@test.com

*Either a token or password can be used in any request where authentication is required.

RETURNS

{ 
"id": "05510369be644692b9d1527ee1be243f", 
"hash": null, 
"success": true, 
"isCached": false, 
"authorized": true, 
"errors": [], 
"timestamp": 1420568624, 
"data": null, 
"userid": 8563
}

ACTION SPECIFIC RESPONSE PARAMETERS

ParameterTypeDescription
userid long ID of the user that was modified.